diff options
author | Roger Dingledine <arma@torproject.org> | 2006-05-22 23:01:09 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-05-22 23:01:09 +0000 |
commit | 734a248bc271549e33e0b2b2d470d68575d02f23 (patch) | |
tree | c1bea233169c978528dcd0ffcd871dee18e4375c /src | |
parent | dcf360f2e1ecd7f55b8c9e198abad62b2357c33d (diff) | |
download | tor-734a248bc271549e33e0b2b2d470d68575d02f23.tar.gz tor-734a248bc271549e33e0b2b2d470d68575d02f23.zip |
band-aid to address bug 291.
needs a better fix down the road.
svn:r6462
Diffstat (limited to 'src')
-rw-r--r-- | src/or/control.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c index 7dcdf99910..d3eba34703 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -443,12 +443,12 @@ get_escaped_string(const char *start, size_t in_len_max, * <b>conn</b>-\>outbuf. The message may be truncated if it is too long, * but it will always end with a CRLF sequence. * - * Currently the length of the message is limited to 1024 (including the + * Currently the length of the message is limited to 2048 (including the * ending \n\r\0. */ static void connection_printf_to_buf(connection_t *conn, const char *format, ...) { -#define CONNECTION_PRINTF_TO_BUF_BUFFERSIZE 1024 +#define CONNECTION_PRINTF_TO_BUF_BUFFERSIZE 2048 va_list ap; char buf[CONNECTION_PRINTF_TO_BUF_BUFFERSIZE]; int r; |