diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-08-29 19:02:33 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-08-29 19:02:33 +0000 |
commit | 91f83cfc2d380aa76fd049d13cf9fb097fecaab6 (patch) | |
tree | 701aff2f074b775754f191537f52a011fbb4e989 /src/or/test.c | |
parent | 4266039c195ebf5ed38d02fbe31770fb6a03e254 (diff) | |
download | tor-91f83cfc2d380aa76fd049d13cf9fb097fecaab6.tar tor-91f83cfc2d380aa76fd049d13cf9fb097fecaab6.tar.gz |
r14830@catbus: nickm | 2007-08-29 13:50:10 -0400
Make controllers accept LF as well as CRLF. Update spec to reflect this. Remove now-dead code. Make controller warning about v0 protocol more accurate.
svn:r11299
Diffstat (limited to 'src/or/test.c')
-rw-r--r-- | src/or/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c index a72e2a401..8c1361f63 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -2000,7 +2000,7 @@ test_util_control_formats(void) "..This is a test\r\nof the emergency \nbroadcast\r\n..system.\r\nZ.\r\n"; size_t sz; - sz = read_escaped_data(inp, strlen(inp), 1, &out); + sz = read_escaped_data(inp, strlen(inp), &out); test_streq(out, ".This is a test\nof the emergency \nbroadcast\n.system.\nZ.\n"); test_eq(sz, strlen(out)); |