projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mem_calloc -> p_new
[apps/madmutt.git]
/
mutt_socket.c
diff --git
a/mutt_socket.c
b/mutt_socket.c
index
90a8dde
..
1c3d865
100644
(file)
--- a/
mutt_socket.c
+++ b/
mutt_socket.c
@@
-326,7
+326,7
@@
static CONNECTION *socket_new_conn (void)
{
CONNECTION *conn;
- conn =
(CONNECTION *) mem_calloc (1, sizeof (CONNECTION)
);
+ conn =
p_new(CONNECTION, 1
);
conn->fd = -1;
return conn;