aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-08-22 07:57:10 +0000
committerRoger Dingledine <arma@torproject.org>2007-08-22 07:57:10 +0000
commitc02fb8997b14f39f14adce7b3082b7e2060495c5 (patch)
treed7e09a483be1fb2051056ee34ab5e10c7ab95565 /src
parent353abd98306f448adf474a44850838f0238505e2 (diff)
downloadtor-c02fb8997b14f39f14adce7b3082b7e2060495c5.tar
tor-c02fb8997b14f39f14adce7b3082b7e2060495c5.tar.gz
backport candidate:
Make it possible to read the PROTOCOLINFO response in a way that conforms to our control-spec. Reported by Matt Edman. svn:r11251
Diffstat (limited to 'src')
-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 f4aef02d4..3e6c14b0b 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -2321,7 +2321,7 @@ handle_control_protocolinfo(control_connection_t *conn, uint32_t len,
}
connection_printf_to_buf(conn,
- "250+PROTOCOLINFO 1\r\n"
+ "250-PROTOCOLINFO 1\r\n"
"250-AUTH METHODS=%s%s%s\r\n"
"250-VERSION Tor=%s\r\n"
"250 OK\r\n",