diff options
author | Andrea Shepard <andrea@persephoneslair.org> | 2012-09-07 04:40:42 -0700 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2012-10-08 03:06:09 -0700 |
commit | 9ad7ba9f2267a9ee34fafda9356f1fa86633f00f (patch) | |
tree | 81a4c18c3c5f440d16325f524da920000e8d0fa8 /src/or/control.c | |
parent | f0f87cb68a22feaf552a18b521d3313d843f8793 (diff) | |
download | tor-9ad7ba9f2267a9ee34fafda9356f1fa86633f00f.tar.gz tor-9ad7ba9f2267a9ee34fafda9356f1fa86633f00f.zip |
Use connection_or_get_num_circuits() in control.c
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c index 5c05fe159d..75a8f5939a 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -3829,7 +3829,7 @@ control_event_or_conn_status(or_connection_t *conn, or_conn_status_event_t tp, } else { ncircs = 0; } - ncircs += conn->n_circuits; + ncircs += connection_or_get_num_circuits(conn); if (ncircs && (tp == OR_CONN_EVENT_FAILED || tp == OR_CONN_EVENT_CLOSED)) { tor_snprintf(ncircs_buf, sizeof(ncircs_buf), "%sNCIRCS=%d", reason ? " " : "", ncircs); |