diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2010-04-01 10:18:35 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2010-04-01 10:18:35 +0200 |
commit | 3b6e696c42727d8f8579e085053c4beaef441587 (patch) | |
tree | 72c6ca39224d006f07d6d6535d14b1631a387b15 /pop3.c | |
parent | 6a7abb1f16e09630c174eaac165af945f8998c24 (diff) | |
download | fetchmail-3b6e696c42727d8f8579e085053c4beaef441587.tar.gz fetchmail-3b6e696c42727d8f8579e085053c4beaef441587.tar.bz2 fetchmail-3b6e696c42727d8f8579e085053c4beaef441587.zip |
Fix xmalloc type casts in SDPS mode.
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1289,12 +1289,12 @@ static int pop3_fetch(int sock, struct query *ctl, int number, int *lenp) * as a workaround. */ if (strspn(buf, " \t") == strlen(buf)) strcpy(buf, "<>"); - sdps_envfrom = xmalloc(strlen(buf)+1); + sdps_envfrom = (char *)xmalloc(strlen(buf)+1); strcpy(sdps_envfrom,buf); break; case 5: /* Wrap address with To: <> so nxtaddr() likes it */ - sdps_envto = xmalloc(strlen(buf)+7); + sdps_envto = (char *)xmalloc(strlen(buf)+7); sprintf(sdps_envto,"To: <%s>",buf); break; } |