aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-01-28 11:25:37 -0500
committerNick Mathewson <nickm@torproject.org>2015-01-28 11:25:37 -0500
commitc240eea0df38be9a82548a71fa54b553057a8b42 (patch)
treea7a6870b3685b112a7df56909f7f6efba77266ce /src/or/networkstatus.c
parent9c4328c0384dc5fd84555daddbd54da2d375c4d0 (diff)
downloadtor-c240eea0df38be9a82548a71fa54b553057a8b42.tar.gz
tor-c240eea0df38be9a82548a71fa54b553057a8b42.zip
more typo fixes from mcs and gk
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c2
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);