blob: af3d825d95fbc4bbd3f3b58e02405b153698c096 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-bc,v 1.2 2009/05/26 05:26:00 manu Exp $
--- lasso/xml/tools.c.orig 2009-04-05 11:24:03.000000000 +0200
+++ lasso/xml/tools.c 2009-04-05 11:24:47.000000000 +0200
@@ -1209,9 +1209,9 @@
{
const char *c;
c = message;
- while (*c != 0 && (isalnum(*c) || *c == '+' || *c == '/' || *c == '\n' || *c == '\r')) c++;
+ while (*c != 0 && (isalnum((int)*c) || *c == '+' || *c == '/' || *c == '\n' || *c == '\r')) c++;
while (*c == '=' || *c == '\n' || *c == '\r') c++; /* trailing = */
if (*c == 0)
return TRUE;
|