diff options
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r-- | src/or/networkstatus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 0024b1ffc0..a25413a12f 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -1913,7 +1913,7 @@ getinfo_helper_networkstatus(control_connection_t *conn, } else if (!strcmpstart(question, "ns/purpose/")) { *answer = networkstatus_getinfo_by_purpose(question+11, time(NULL)); return *answer ? 0 : -1; - } else if (!strcmpstart(question, "consensus/packages")) { + } else if (!strcmp(question, "consensus/packages")) { const networkstatus_t *ns = networkstatus_get_latest_consensus(); if (ns->package_lines) *answer = smartlist_join_strings(ns->package_lines, "\n", 1, NULL); |