diff options
author | Roger Dingledine <arma@torproject.org> | 2004-10-14 02:49:48 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-10-14 02:49:48 +0000 |
commit | 69830afc1601542662d2bc7b9c1ba5eec348c7d7 (patch) | |
tree | 24a03f15f2b9e2c181d4fa14ede697414bd4aaef /src/or | |
parent | 5f4a390b337ab04da488d21ecc689a15da496d55 (diff) | |
download | tor-69830afc1601542662d2bc7b9c1ba5eec348c7d7.tar.gz tor-69830afc1601542662d2bc7b9c1ba5eec348c7d7.zip |
and another one
svn:r2484
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/routerparse.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 9ccc7300a8..b58950a68f 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -939,8 +939,7 @@ router_parse_exit_policy_from_string(const char *s) const char *cp; char *tmp; struct exit_policy_t *r; - size_t len; - int idx; + size_t len, idx; /* *s might not end with \n, so we need to extend it with one. */ len = strlen(s); |