aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-02-04 14:06:26 +0000
committerMatthias Andree <matthias.andree@gmx.de>2010-02-04 14:06:26 +0000
commitb85314917e832e70ef18bc6092bde08b916b8b6a (patch)
tree798dc43bbdd1fdbf0be0b7320e64cc6832c90732 /imap.c
parent04459541211a5d7a03cf59c166046a163b7509ed (diff)
downloadfetchmail-b85314917e832e70ef18bc6092bde08b916b8b6a.tar.gz
fetchmail-b85314917e832e70ef18bc6092bde08b916b8b6a.tar.bz2
fetchmail-b85314917e832e70ef18bc6092bde08b916b8b6a.zip
Fix input type for isalnum().
svn path=/branches/BRANCH_6-3/; revision=5477
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap.c b/imap.c
index 15a563ec..501f60e1 100644
--- a/imap.c
+++ b/imap.c
@@ -543,7 +543,7 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting)
* and IGNORE errors. */
{
char *tmp = strstr(capabilities, " ID");
- if (tmp && !isalnum(tmp[3]) && strstr(ctl->server.via ? ctl->server.via : ctl->server.pollname, "yahoo.com")) {
+ if (tmp && !isalnum((unsigned char)tmp[3]) && strstr(ctl->server.via ? ctl->server.via : ctl->server.pollname, "yahoo.com")) {
(void)gen_transact(sock, "ID (\"guid\" \"1\")");
}
}