diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-11-22 15:42:03 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-11-22 15:42:03 +0000 |
commit | e72d87adb43dbe7adb10459a325aa2f508dccab4 (patch) | |
tree | 89e5707b8407d8796276b3961cb818340d20274d /pop3.c | |
parent | deb2c117a5fb71a1597754bbbfda02c53d6fbd54 (diff) | |
download | fetchmail-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |