[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] isprint requires standard workaround for win32
Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv14910/src/or
Modified Files:
Tag: tor-0_0_9-patches
directory.c
Log Message:
isprint requires standard workaround for win32
Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.181.2.9
retrieving revision 1.181.2.10
diff -u -d -r1.181.2.9 -r1.181.2.10
--- directory.c 21 Jan 2005 18:17:53 -0000 1.181.2.9
+++ directory.c 22 Jan 2005 00:36:52 -0000 1.181.2.10
@@ -565,7 +565,7 @@
!strcmpstart(body,"running-routers"))
return 1;
for (i=0;i<32;++i) {
- if (!isprint(body[i]) && !isspace(body[i]))
+ if (!TOR_ISPRINT(body[i]) && !TOR_ISSPACE(body[i]))
return 0;
}
return 1;