Fix a warning on unnamed nodes in node_get_by_nickname().
commitbdc59e33c13672b64d5d52dfc395f9e80c6ed528
authorNick Mathewson <nickm@torproject.org>
Mon, 30 May 2016 16:03:03 +0000 (30 12:03 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 30 May 2016 16:03:03 +0000 (30 12:03 -0400)
tree4a794ca44984c7da5f132b274e4961179fc80e3f
parent4165b1a0da893a9f67a2ba32b4fcd54a7804ce14
Fix a warning on unnamed nodes in node_get_by_nickname().

There was a > that should have been an ==, and a missing !.  These
together prevented us from issuing a warning in the case that a
nickname matched an Unnamed node only.

Fixes bug 19203; bugfix on 0.2.3.1-alpha.
changes/bug19203 [new file with mode: 0644]
src/or/nodelist.c