mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
mark bug 261
svn:r6089
This commit is contained in:
parent
5dc5380984
commit
a2d71f917e
1 changed files with 1 additions and 0 deletions
|
@ -1414,6 +1414,7 @@ handle_getinfo_helper(const char *question, char **answer)
|
|||
state = "CONNECTED";
|
||||
else
|
||||
state = "LAUNCHED";
|
||||
/* XXX non-open conns may not have nickname assigned yet */
|
||||
slen = strlen(conns[i]->nickname)+strlen(state)+2;
|
||||
s = tor_malloc(slen+1);
|
||||
tor_snprintf(s, slen, "%s %s",conns[i]->nickname,state);
|
||||
|
|
Loading…
Add table
Reference in a new issue