Minor fix to buffer stats.
commit16fbb2f745bf0a910e7f7d6ae101dec6cbc195fe
authorKarsten Loesing <karsten.loesing@gmx.net>
Thu, 3 Dec 2009 09:51:51 +0000 (3 10:51 +0100)
committerKarsten Loesing <karsten.loesing@gmx.net>
Thu, 3 Dec 2009 09:51:51 +0000 (3 10:51 +0100)
tree8758fcdfae15d67f63cc4c317fa4c4e9a0a24057
parent0faf5c5fd258ddc65282d6025e70c10226148045
Minor fix to buffer stats.

Do not segfault when writing buffer stats when we haven't observed a
single circuit to report about.  This is a minor bug that would only show
up in testing environments with no traffic and with reduced stats
intervals.
src/or/rephist.c