diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 4834d13764..232e02ae0d 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -2160,7 +2160,7 @@ getinfo_helper_networkstatus(control_connection_t *conn, *answer = networkstatus_getinfo_by_purpose(question+11, time(NULL)); return *answer ? 0 : -1; } else { - return -1; + return 0; } if (status)