aboutsummaryrefslogtreecommitdiff
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
parent8054fdc51a6aeff4d4465325391c9edd88dc7164 (diff)
downloadtor-145e589b6cd0f5c4ba7074896556712d77489e3a.tar
tor-145e589b6cd0f5c4ba7074896556712d77489e3a.tar.gz
Resume using the correct "REASON=" stream when telling the
controller why we closed a stream. Bugfix in 0.2.1.1-alpha. svn:r17547
-rw-r--r--ChangeLog5
-rw-r--r--src/or/control.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 29b0e6de9..6a71272ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,4 @@
Changes in version 0.2.1.9-alpha - 200?-??-??
-
o Minor features:
- Give a better error message when an overzealous init script says,
"sudo -u username tor --user username". Makes Bug 882 easier
@@ -11,6 +10,10 @@ Changes in version 0.2.1.9-alpha - 200?-??-??
- Finally remove deprecated "EXTENEDED_FORMAT" feature. It has
been called EXTENDED_EVENTS since 0.1.2.4-alpha.
+ o Minor bugfixes:
+ - Resume using the correct "REASON=" stream when telling the
+ controller why we closed a stream. Bugfix in 0.2.1.1-alpha.
+
Changes in version 0.2.1.8-alpha - 2008-12-08
o Major features:
diff --git a/src/or/control.c b/src/or/control.c
index 93db3c379..231a88ad1 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);