diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-03-30 22:59:00 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-03-30 22:59:00 +0000 |
commit | 93ab51e9ac6173d3aebde2df1393ee2ee7f6a28e (patch) | |
tree | 7fc72f4ce789e840f04b8632d5b5799b31cb26b5 /src/or/circuit.c | |
parent | 2d3ac08633a47617c1244caab8b41f73604e0d48 (diff) | |
download | tor-93ab51e9ac6173d3aebde2df1393ee2ee7f6a28e.tar.gz tor-93ab51e9ac6173d3aebde2df1393ee2ee7f6a28e.zip |
Make smartlist Do What Arma Expects.
svn:r1401
Diffstat (limited to 'src/or/circuit.c')
-rw-r--r-- | src/or/circuit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c index 05ee82d3e5..017194dae4 100644 --- a/src/or/circuit.c +++ b/src/or/circuit.c @@ -946,7 +946,7 @@ void circuit_expire_unused_circuits(void) { smartlist_t *unused_open_circs; int i; - unused_open_circs = smartlist_create(circuitlist_len); + unused_open_circs = smartlist_create(); for (circ = global_circuitlist; circ; circ = circ->next) { if (circ->marked_for_close) |