aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2004-06-19 01:44:56 +0000
committerMatthias Andree <matthias.andree@gmx.de>2004-06-19 01:44:56 +0000
commit67d5e1e4ca79d86c8beedc8709efb27f83295443 (patch)
treeb8692dc1d527a427787e86e6e1f02f14a5203630 /pop3.c
parentad03539e8bf64c9e3393f357857c5c751d682abc (diff)
downloadfetchmail-67d5e1e4ca79d86c8beedc8709efb27f83295443.tar.gz
fetchmail-67d5e1e4ca79d86c8beedc8709efb27f83295443.tar.bz2
fetchmail-67d5e1e4ca79d86c8beedc8709efb27f83295443.zip
Cast arguments of is*() ctype.h functions to unsigned char to be 8-bit safe.
svn path=/trunk/; revision=3903
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 fc574f64..1a74715a 100644
--- a/pop3.c
+++ b/pop3.c
@@ -148,7 +148,7 @@ static int pop3_ok (int sock, char *argbuf)
else
return(PS_PROTOCOL);
- while (isalpha(*bufp))
+ while (isalpha((unsigned char)*bufp))
bufp++;
if (*bufp)