mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Initialize msg_len
svn:r3737
This commit is contained in:
parent
aaf70df3bd
commit
6394f77edb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user