aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-03-18 23:29:22 +0100
committerMatthias Andree <matthias.andree@gmx.de>2010-03-18 23:29:22 +0100
commit8e4bfa7520c919ec2a7b00067c3348f0d1c73c8d (patch)
treef5342330bc2dea4ed531ce9ff130cbe2546e1121 /pop3.c
parent05cb2b9c62b323a1278c81b6cbe00b2e4186b4f4 (diff)
downloadfetchmail-8e4bfa7520c919ec2a7b00067c3348f0d1c73c8d.tar.gz
fetchmail-8e4bfa7520c919ec2a7b00067c3348f0d1c73c8d.tar.bz2
fetchmail-8e4bfa7520c919ec2a7b00067c3348f0d1c73c8d.zip
Further type fixes.
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pop3.c b/pop3.c
index 70a91dd5..d9bc0000 100644
--- a/pop3.c
+++ b/pop3.c
@@ -690,7 +690,7 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting)
msg = (char *)xmalloc((end-start+1) + strlen(ctl->password) + 1);
strcpy(msg,start);
strcat(msg,ctl->password);
- strcpy(ctl->digest, MD5Digest((unsigned char *)msg));
+ strcpy((char *)ctl->digest, (char *)MD5Digest((unsigned char *)msg));
free(msg);
ok = gen_transact(sock, "APOP %s %s", ctl->remotename, ctl->digest);