avoid calling smartlist_get(..., -1) if we have a consensus but no
commit5fcc79185f6dc100ecdd1341953c1f2fbe6692ec
authorRoger Dingledine <arma@torproject.org>
Fri, 25 Jan 2008 07:11:32 +0000 (25 07:11 +0000)
committerRoger Dingledine <arma@torproject.org>
Fri, 25 Jan 2008 07:11:32 +0000 (25 07:11 +0000)
tree8a327936d61ccdc4af6f750adbffca7fda6df24c
parentd72ccd95a8f5b775a4b225bdbc9a861c14721128
avoid calling smartlist_get(..., -1) if we have a consensus but no
hsdir nodes.

svn:r13270
src/or/routerlist.c