projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exit mem_realloc, enters p_realloc/xrealloc.
[apps/madmutt.git]
/
nntp
/
mx_nntp.c
diff --git
a/nntp/mx_nntp.c
b/nntp/mx_nntp.c
index
3d7196b
..
84a9d64
100644
(file)
--- a/
nntp/mx_nntp.c
+++ b/
nntp/mx_nntp.c
@@
-17,7
+17,6
@@
#include "mx.h"
#include "mx_nntp.h"
#include "mx.h"
#include "mx_nntp.h"
-#include "lib/mem.h"
#include "lib/str.h"
#include "url.h"
#include "lib/str.h"
#include "url.h"
@@
-42,7
+41,7
@@
static int acl_check_nntp (CONTEXT* ctx, int bit) {
/* called by nntp_init(); don't call elsewhere */
mx_t* nntp_reg_mx (void) {
/* called by nntp_init(); don't call elsewhere */
mx_t* nntp_reg_mx (void) {
- mx_t* fmt =
mem_calloc (1, sizeof (mx_t)
);
+ mx_t* fmt =
p_new(mx_t, 1
);
/* make up mx_t record... */
fmt->type = M_NNTP;
/* make up mx_t record... */
fmt->type = M_NNTP;