diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-06-05 10:08:27 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-06-05 10:08:27 -0400 |
commit | 1fb9be53969011a10c453a36099583f631dc8a09 (patch) | |
tree | f1eddd4171602f5b1701f36f22c38da469c645d2 /src/feature/control | |
parent | b335ef178156e2a6825c48a04222384869c08c5f (diff) | |
parent | 3e4814edeb563535b0f3bf658c01d7c10d6b4aa2 (diff) | |
download | tor-1fb9be53969011a10c453a36099583f631dc8a09.tar.gz tor-1fb9be53969011a10c453a36099583f631dc8a09.zip |
Merge remote-tracking branch 'tor-github/pr/1902/head'
Diffstat (limited to 'src/feature/control')
-rw-r--r-- | src/feature/control/control_getinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/control/control_getinfo.c b/src/feature/control/control_getinfo.c index b2d0c9680d..0823acbe07 100644 --- a/src/feature/control/control_getinfo.c +++ b/src/feature/control/control_getinfo.c @@ -137,6 +137,7 @@ getinfo_helper_misc(control_connection_t *conn, const char *question, return -1; } *answer = tor_dup_ip(addr); + tor_assert_nonfatal(*answer); } else if (!strcmp(question, "traffic/read")) { tor_asprintf(answer, "%"PRIu64, (get_bytes_read())); } else if (!strcmp(question, "traffic/written")) { |