diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-01-22 00:42:58 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-01-22 00:42:58 +0000 |
commit | fbb7f869c5cff8c771c73ab90f52d7017051693f (patch) | |
tree | d52ef39b92553dba9393f9da51f75f13f6316fcc /src/or/directory.c | |
parent | 1dc4d9a0ceb5aacb7f44416950a7b794380b1a3a (diff) | |
download | tor-fbb7f869c5cff8c771c73ab90f52d7017051693f.tar.gz tor-fbb7f869c5cff8c771c73ab90f52d7017051693f.zip |
fwd-port win32 isprint fix
svn:r3410
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 6fabc52450..446c9eda73 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -566,7 +566,7 @@ body_is_plausible(const char *body, size_t len, int purpose) !strcmpstart(body,"running-routers")) return 1; for (i=0;i<32;++i) { - if (!isprint(body[i]) && !isspace(body[i])) + if (!TOR_ISPRINT(body[i]) && !TOR_ISSPACE(body[i])) return 0; } return 1; |