svn commit: samba r8361 - in branches/SAMBA_4_0/source/web_server: .

lha at samba.org lha at samba.org
Tue Jul 12 08:17:34 GMT 2005


Author: lha
Date: 2005-07-12 08:17:34 +0000 (Tue, 12 Jul 2005)
New Revision: 8361

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8361

Log:
ctype is* macros needs unsigned arguments

Modified:
   branches/SAMBA_4_0/source/web_server/http.c


Changeset:
Modified: branches/SAMBA_4_0/source/web_server/http.c
===================================================================
--- branches/SAMBA_4_0/source/web_server/http.c	2005-07-12 08:05:15 UTC (rev 8360)
+++ branches/SAMBA_4_0/source/web_server/http.c	2005-07-12 08:17:34 UTC (rev 8361)
@@ -122,7 +122,7 @@
 	if (url[0] != '/') return NULL;
 
 	for (i=0;url[i];i++) {
-		if ((!isalnum(url[i]) && !strchr("./_", url[i])) ||
+		if ((!isalnum((unsigned char)url[i]) && !strchr("./_", url[i])) ||
 		    (url[i] == '.' && strchr("/.", url[i+1]))) {
 			return NULL;
 		}



More information about the samba-cvs mailing list