diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-01-15 05:57:19 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-01-15 05:57:19 +0000 |
commit | 24aae484c93b09c7fc735e53874f02a22e4b5b43 (patch) | |
tree | 52b359e727d2a0c6325fd21ef881b20818f32baa /src/or/control.c | |
parent | a984011814b3de3c4a300c364893cd6c6cc8ec05 (diff) | |
download | tor-24aae484c93b09c7fc735e53874f02a22e4b5b43.tar.gz tor-24aae484c93b09c7fc735e53874f02a22e4b5b43.zip |
r17624@catbus: nickm | 2008-01-15 00:42:01 -0500
Fixes to more anonymously-reported typos and logic errors.
svn:r13136
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c index d216339b30..d6424d8581 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -2325,7 +2325,7 @@ handle_control_redirectstream(control_connection_t *conn, uint32_t len, connection_printf_to_buf(conn, "552 Unknown stream \"%s\"\r\n", (char*)smartlist_get(args, 0)); } else { - int ok; + int ok = 1; if (smartlist_len(args) > 2) { /* they included a port too */ new_port = (uint16_t) tor_parse_ulong(smartlist_get(args, 2), 10, 1, 65535, &ok, NULL); |