[or-cvs] fix infinite loop
arma at seul.org
arma at seul.org
Mon Mar 6 20:01:48 UTC 2006
Update of /home2/or/cvsroot/tor/src/common
In directory moria:/home/arma/work/onion/cvs/tor/src/common
Modified Files:
util.c
Log Message:
fix infinite loop
Index: util.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/common/util.c,v
retrieving revision 1.249
retrieving revision 1.250
diff -u -p -d -r1.249 -r1.250
--- util.c 5 Mar 2006 09:50:25 -0000 1.249
+++ util.c 6 Mar 2006 20:01:46 -0000 1.250
@@ -335,6 +335,7 @@ tor_strisprint(const char *s)
while (*s) {
if (!TOR_ISPRINT(*s))
return 0;
+ s++;
}
return 1;
}
More information about the tor-commits
mailing list