From e72d87adb43dbe7adb10459a325aa2f508dccab4 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 22 Nov 1998 15:42:03 +0000 Subject: Cleanup. svn path=/trunk/; revision=2204 --- pop3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pop3.c') 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 -- cgit v1.2.3