summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-03-19 20:50:12 +0000
committerRoger Dingledine <arma@torproject.org>2004-03-19 20:50:12 +0000
commitc195f690583bd5f6bd7c0c760ee15fed944bbd7c (patch)
treedda31dd126abc4e888fbd6b20e5d9f4d0ac1cf16 /src/or/directory.c
parent51750ae09a162bd9de70e9163213d3a07788ea9d (diff)
downloadtor-c195f690583bd5f6bd7c0c760ee15fed944bbd7c.tar.gz
tor-c195f690583bd5f6bd7c0c760ee15fed944bbd7c.zip
isspace and friends take an int. solaris cares.
svn:r1303
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index d6be10eff7..f3f4025cdf 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -105,7 +105,7 @@ int parse_http_response(char *headers, int *code, char **message) {
int n1, n2;
assert(headers && code);
- while(isspace(*headers)) headers++; /* tolerate leading whitespace */
+ while(isspace((int)*headers)) headers++; /* tolerate leading whitespace */
if(sscanf(headers, "HTTP/1.%d %d", &n1, &n2) < 2 ||
(n1 != 0 && n1 != 1) ||