diff options
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/routerparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index c54097782e..c12d07f613 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -214,7 +214,7 @@ get_recommended_software_from_directory(const char *str) comma = strchr(vl, ','); version = tor_strndup(vl, comma?(comma-vl):strlen(vl)); cp = version; - while (isspace(*cp)) + while (isspace((int)*cp)) ++cp; if (!strncmp(cp, "Tor ", 4)) cp += 4; |