[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] make the compile work (and not complain) on sunos 5.9



Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	routerparse.c 
Log Message:
make the compile work (and not complain) on sunos 5.9


Index: routerparse.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routerparse.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- routerparse.c	18 Aug 2004 21:56:45 -0000	1.36
+++ routerparse.c	25 Aug 2004 17:31:47 -0000	1.37
@@ -214,7 +214,7 @@
     comma = strchr(vl, ',');
     version = tor_strndup(vl, comma?(comma-vl):strlen(vl));
     cp = version;
-    while (isspace(*cp))
+    while (isspace((int)*cp))
       ++cp;
     if (!strncmp(cp, "Tor ", 4))
       cp += 4;