diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-01-16 17:02:46 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-01-16 17:02:46 -0500 |
commit | 8b62a738b3add64dcd26a82dff44a7e9e11ff5a9 (patch) | |
tree | 6ea9ea35dd6980c2ec5aecf5aa483d3fa0c6e4af /src/or/circuitbuild.c | |
parent | e4821fa14de6d76219d4e5c1a320ba263bd5e46d (diff) | |
parent | ca18768fb2d178052fbf1207075406673f422c8a (diff) | |
download | tor-8b62a738b3add64dcd26a82dff44a7e9e11ff5a9.tar.gz tor-8b62a738b3add64dcd26a82dff44a7e9e11ff5a9.zip |
Merge branch 'bug5285_v2'
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index fffdde9093..b986243867 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -2301,7 +2301,7 @@ circuit_all_predicted_ports_handled(time_t now, int *need_uptime, enough = (smartlist_len(sl) == 0); for (i = 0; i < smartlist_len(sl); ++i) { port = smartlist_get(sl, i); - if (smartlist_string_num_isin(LongLivedServices, *port)) + if (smartlist_contains_int_as_string(LongLivedServices, *port)) *need_uptime = 1; tor_free(port); } |