aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-11-22 15:42:03 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-11-22 15:42:03 +0000
commite72d87adb43dbe7adb10459a325aa2f508dccab4 (patch)
tree89e5707b8407d8796276b3961cb818340d20274d /pop3.c
parentdeb2c117a5fb71a1597754bbbfda02c53d6fbd54 (diff)
downloadfetchmail-e72d87adb43dbe7adb10459a325aa2f508dccab4.tar.gz
fetchmail-e72d87adb43dbe7adb10459a325aa2f508dccab4.tar.bz2
fetchmail-e72d87adb43dbe7adb10459a325aa2f508dccab4.zip
Cleanup.
svn path=/trunk/; revision=2204
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pop3.c b/pop3.c
index 9265e713..9930679d 100644
--- a/pop3.c
+++ b/pop3.c
@@ -222,7 +222,7 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting)
strcpy(msg,start);
strcat(msg,ctl->password);
- strcpy(ctl->digest, MD5Digest(msg));
+ strcpy(ctl->digest, MD5Digest((unsigned char *)msg));
ok = gen_transact(sock, "APOP %s %s", ctl->remotename, ctl->digest);
break;
@@ -561,7 +561,7 @@ static int pop3_fetch(int sock, struct query *ctl, int number, int *lenp)
if (linecount == 5)
{
/* Wrap address with To: <> so nxtaddr() likes it */
- sdps_envto = malloc(strlen(buf)+7);
+ sdps_envto = xmalloc(strlen(buf)+7);
sprintf(sdps_envto,"To: <%s>",buf);
}
} while