diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2009-09-03 03:01:23 +0200 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2009-09-15 07:12:12 -0400 |
commit | 5e01a86b42fe2c975408dd7be0d2d4627c8c2f38 (patch) | |
tree | b1d8b36616091cb6354881df08ab1bde0dad0ec1 /src/or/networkstatus.c | |
parent | 39dee3d52c0cba7717289c7f2d2890e98ac5c813 (diff) | |
download | tor-5e01a86b42fe2c975408dd7be0d2d4627c8c2f38.tar.gz tor-5e01a86b42fe2c975408dd7be0d2d4627c8c2f38.zip |
some cleanups:
documentation fix for get_uint64
remove extra "." from a log line
fix a long line
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r-- | src/or/networkstatus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 0ed9279002..fd38df4e68 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -1910,7 +1910,8 @@ networkstatus_get_param(networkstatus_t *ns, const char *param_name, SMARTLIST_FOREACH_BEGIN(ns->net_params, const char *, p) { if (!strcmpstart(p, param_name) && p[name_len] == '=') { int ok=0; - long v = tor_parse_long(p+name_len+1, 10, INT32_MIN, INT32_MAX, &ok,NULL); + long v = tor_parse_long(p+name_len+1, 10, INT32_MIN, + INT32_MAX, &ok, NULL); if (ok) return (int32_t) v; } |