blob: 9a90ce27509767527c5b4b50ffa911f9168d70af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-az,v 1.1 2005/12/29 23:31:36 joerg Exp $
--- src/common/msgid.c.orig 2005-12-30 00:11:24.000000000 +0100
+++ src/common/msgid.c
@@ -320,9 +320,9 @@ char *s_msgid_rfc_to_fido(int *origid_fl
*/
node.domain[0] = 0;
p = id;
- hexflag = isxdigit(*p) && *p!='0';
+ hexflag = isxdigit((unsigned char)*p) && *p!='0';
for(p++, i=0; i<7 && *p && *p!='%'; i++, p++)
- if(!isxdigit(*p))
+ if(!isxdigit((unsigned char)*p))
hexflag = FALSE;
if(hexflag && *p=='%') /* Domain part follows */
{
|