diff options
author | Roger Dingledine <arma@torproject.org> | 2008-12-10 01:34:24 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-12-10 01:34:24 +0000 |
commit | 145e589b6cd0f5c4ba7074896556712d77489e3a (patch) | |
tree | fe61954463ee80b0af178e020784fde16fb8c86f /src/or/control.c | |
parent | 8054fdc51a6aeff4d4465325391c9edd88dc7164 (diff) | |
download | tor-145e589b6cd0f5c4ba7074896556712d77489e3a.tar.gz tor-145e589b6cd0f5c4ba7074896556712d77489e3a.zip |
Resume using the correct "REASON=" stream when telling the
controller why we closed a stream. Bugfix in 0.2.1.1-alpha.
svn:r17547
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 93db3c379f..231a88ad14 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -3092,7 +3092,7 @@ control_event_stream_status(edge_connection_t *conn, stream_status_event_t tp, if (reason_code && (tp == STREAM_EVENT_FAILED || tp == STREAM_EVENT_CLOSED || tp == STREAM_EVENT_FAILED_RETRIABLE)) { - const char *reason_str = stream_end_reason_to_string(reason_code); + const char *reason_str = stream_end_reason_to_control_string(reason_code); char *r = NULL; if (!reason_str) { r = tor_malloc(16); |