diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-07-29 04:03:25 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-07-29 04:03:25 +0000 |
commit | 964e4a305d1fbdfbfde3754845064f681dd38d5c (patch) | |
tree | 39e0f218375dee142012bc0cc1bef6d62fd3b856 /src/or/control.c | |
parent | 25bd4204d0f0db46fb81a12df475760f3a6fce68 (diff) | |
download | tor-964e4a305d1fbdfbfde3754845064f681dd38d5c.tar tor-964e4a305d1fbdfbfde3754845064f681dd38d5c.tar.gz |
r13972@catbus: nickm | 2007-07-29 00:01:38 -0400
Make our control events for multi-line async replies conform to our old grammar. Change back to the old grammar (which got "corrected" in r10931).
svn:r10964
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c index 45ef63be7..61f642df0 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -3145,8 +3145,9 @@ control_event_or_authdir_new_descriptor(const char *action, strlcpy(buf, firstline, totallen); strlcpy(buf+strlen(firstline), esc, totallen); send_control_event_string(EVENT_AUTHDIR_NEWDESCS, ALL_NAMES|ALL_FORMATS, - buf); - + buf); + send_control_event_string(EVENT_AUTHDIR_NEWDESCS, ALL_NAMES|ALL_FORMATS, + "650 OK\r\n"); tor_free(esc); tor_free(buf); @@ -3178,6 +3179,9 @@ control_event_networkstatus_changed(smartlist_t *statuses) smartlist_free(strs); tor_free(s); send_control_event_string(EVENT_NS, ALL_NAMES|ALL_FORMATS, esc); + send_control_event_string(EVENT_NS, ALL_NAMES|ALL_FORMATS, + "650 OK\r\n"); + tor_free(esc); return 0; } |