[or-cvs] fwd-port win32 isprint fix
Nick Mathewson
nickm at seul.org
Sat Jan 22 00:43:01 UTC 2005
Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv15551/src/or
Modified Files:
directory.c
Log Message:
fwd-port win32 isprint fix
Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.202
retrieving revision 1.203
diff -u -d -r1.202 -r1.203
--- directory.c 21 Jan 2005 23:16:07 -0000 1.202
+++ directory.c 22 Jan 2005 00:42:58 -0000 1.203
@@ -566,7 +566,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;
More information about the tor-commits
mailing list