mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
mark bug 261
svn:r6089
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user