aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-08-25 17:31:47 +0000
committerRoger Dingledine <arma@torproject.org>2004-08-25 17:31:47 +0000
commit444a01610c7dbb1f2d6ed832ef32844bcefc989d (patch)
treefc421363c2fe89875709698aaf3375f9518e55dd /src/or/routerparse.c
parentbe7909f67000ac379839c4c204cb9b39f12402e7 (diff)
downloadtor-444a01610c7dbb1f2d6ed832ef32844bcefc989d.tar.gz
tor-444a01610c7dbb1f2d6ed832ef32844bcefc989d.zip
make the compile work (and not complain) on sunos 5.9
svn:r2312
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c2
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;