aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-03-06 20:01:46 +0000
committerRoger Dingledine <arma@torproject.org>2006-03-06 20:01:46 +0000
commita385b0087fc144ffd948e8bca416368d1e968ffd (patch)
treee0f3db19dcbfb5fd36a72bc080ef2f87c7b7fed8 /src/common/util.c
parenta2d71f917e43d9fe2c3787a7831d0b67bc61486f (diff)
downloadtor-a385b0087fc144ffd948e8bca416368d1e968ffd.tar
tor-a385b0087fc144ffd948e8bca416368d1e968ffd.tar.gz
fix infinite loop
svn:r6090
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 0ae109c1d..4975dfa91 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -335,6 +335,7 @@ tor_strisprint(const char *s)
while (*s) {
if (!TOR_ISPRINT(*s))
return 0;
+ s++;
}
return 1;
}