From b85314917e832e70ef18bc6092bde08b916b8b6a Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Thu, 4 Feb 2010 14:06:26 +0000 Subject: Fix input type for isalnum(). svn path=/branches/BRANCH_6-3/; revision=5477 --- imap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'imap.c') 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\")"); } } -- cgit v1.2.3