aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}