Fix getinfo_helper_networkstatus to return 0 on question-not-known
commitd461799f0b5fe3b5a2c3a74db21d4a89b9b97424
authorNick Mathewson <nickm@torproject.org>
Sun, 18 Jul 2010 15:13:25 +0000 (18 17:13 +0200)
committerNick Mathewson <nickm@torproject.org>
Sun, 18 Jul 2010 15:13:25 +0000 (18 17:13 +0200)
treeb1e6ef5313f42bda2f0728486d8a37da96e96bfe
parent0b4b51314f5cb0242e7a8fd3b87bc800cd04eacc
Fix getinfo_helper_networkstatus to return 0 on question-not-known

It erroneously returned -1 instead, which made it say "Internal error"
rather than "Unrecognized key."
src/or/networkstatus.c