diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2006-03-15 17:05:25 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2006-03-15 17:05:25 +0000 |
commit | c3e52ea6ca3178b7ecab4b389a9ba9269662b48f (patch) | |
tree | 92010dbf827948300ec59549600f86eac09ca9b0 /sink.c | |
parent | 10ad1196e3f7f240a231e91d7cb2a612da3d6b4e (diff) | |
download | fetchmail-c3e52ea6ca3178b7ecab4b389a9ba9269662b48f.tar.gz fetchmail-c3e52ea6ca3178b7ecab4b389a9ba9269662b48f.tar.bz2 fetchmail-c3e52ea6ca3178b7ecab4b389a9ba9269662b48f.zip |
Further cleanups to compile with C++ compiler.
svn path=/branches/BRANCH_6-3/; revision=4744
Diffstat (limited to 'sink.c')
-rw-r--r-- | sink.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -920,7 +920,7 @@ static int open_smtp_sink(struct query *ctl, struct msgblk *msg, for (idp = msg->recipients; idp; idp = idp->next) total_addresses++; #ifdef EXPLICIT_BOUNCE_ON_BAD_ADDRESS - from_responses = xmalloc(sizeof(char *) * total_addresses); + from_responses = (char **)xmalloc(sizeof(char *) * total_addresses); #endif /* EXPLICIT_BOUNCE_ON_BAD_ADDRESS */ for (idp = msg->recipients; idp; idp = idp->next) if (idp->val.status.mark == XMIT_ACCEPT) @@ -1426,7 +1426,7 @@ int close_sink(struct query *ctl, struct msgblk *msg, flag forward) char **responses; /* eat the RFC2033-required responses, saving errors */ - responses = xmalloc(sizeof(char *) * lmtp_responses); + responses = (char **)xmalloc(sizeof(char *) * lmtp_responses); for (errors = i = 0; i < lmtp_responses; i++) { if ((smtp_err = SMTP_ok(ctl->smtp_socket, ctl->smtphostmode)) |