Add an extra check in test_entrynodes
commitd45bf0c65caa98b6e41046c22fbecf76cd8e1f8d
authorNick Mathewson <nickm@torproject.org>
Sat, 18 Nov 2017 15:26:45 +0000 (18 10:26 -0500)
committerNick Mathewson <nickm@torproject.org>
Sat, 18 Nov 2017 15:26:45 +0000 (18 10:26 -0500)
tree0a5be4942afd98aa61ad5b67f0fe7e3df0e5fc8a
parenta5b8b55c1c39febdb0f8a2bc0294e040da21869a
Add an extra check in test_entrynodes

This check makes it so we can reach "done" without setting "conn",
and so the "if (conn)" check will not be redundant, and so coverity
won't complain.  Fixes CID 1422205.  Not actually a bug.
src/test/test_entrynodes.c