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

Roger Dingledine arma at seul.org
Wed Aug 25 17:31:50 UTC 2004


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;



More information about the tor-commits mailing list