summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-12-10 01:34:24 +0000
committerRoger Dingledine <arma@torproject.org>2008-12-10 01:34:24 +0000
commit145e589b6cd0f5c4ba7074896556712d77489e3a (patch)
treefe61954463ee80b0af178e020784fde16fb8c86f /src/or/control.c
parent8054fdc51a6aeff4d4465325391c9edd88dc7164 (diff)
downloadtor-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.c2
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);