Browse Source

fix infinite loop

svn:r6090
Roger Dingledine 19 years ago
parent
commit
a385b0087f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/common/util.c

+ 1 - 0
src/common/util.c

@@ -335,6 +335,7 @@ tor_strisprint(const char *s)
   while (*s) {
   while (*s) {
     if (!TOR_ISPRINT(*s))
     if (!TOR_ISPRINT(*s))
       return 0;
       return 0;
+    s++;
   }
   }
   return 1;
   return 1;
 }
 }