Avoid spurious bwhist parsing failures
commit6b7408178bf9cb3864cec14408d78e8374f26b68
authorNick Mathewson <nickm@torproject.org>
Tue, 1 Mar 2011 22:08:02 +0000 (1 17:08 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 1 Mar 2011 22:08:02 +0000 (1 17:08 -0500)
treebed42c598e32fe7b6c8513556d72f6560b99b891
parentaa178aae03048caf24ce5df4b2d643c7e7afdc7b
Avoid spurious bwhist parsing failures

This should fix a bug that special ran into, where if your state file
didn't record period maxima, it would never decide that it had
successfully parsed itself unless you got lucky with your
uninitialized-variable values.

This patch also tries to improve error messags in the case where a
maximum value legitimately doesn't parse.
src/or/rephist.c