diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-03-10 18:46:11 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-03-10 18:46:11 +0000 |
commit | 6394f77edbfb6de9e8aed82e30b97e80c57fb0b0 (patch) | |
tree | 257fd30383a02aa250f8218bdd7424a31bdbf06e /src/or/control.c | |
parent | aaf70df3bd810f2cee9732a5ee14d37e2a35b9d0 (diff) | |
download | tor-6394f77edbfb6de9e8aed82e30b97e80c57fb0b0.tar.gz tor-6394f77edbfb6de9e8aed82e30b97e80c57fb0b0.zip |
Initialize msg_len
svn:r3737
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/control.c b/src/or/control.c index 257203dcd1..b75f95b5e8 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -599,6 +599,7 @@ handle_control_getinfo(connection_t *conn, uint32_t len, const char *body) smartlist_split_string(questions, body, "\n", SPLIT_SKIP_SPACE|SPLIT_IGNORE_BLANK, 0); answers = smartlist_create(); + msg_len = 0; SMARTLIST_FOREACH(questions, const char *, q, { ans = handle_getinfo_helper(q); |