Initialize offset counters
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Wed, 7 Jul 2010 12:43:38 +0000 (14:43 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 7 Jul 2010 13:18:56 +0000 (10:18 -0300)
commitfda8614ef6375431082109a587b416faf9e02707
tree76b3111bbb8253bd05acf34cf79008310ac07c8c
parentbf2082ded0ec063428357355c4938a0712628848
Initialize offset counters

The Service object needs the the first update of
the statistic counters to know the offset for its
calculation. Until now, the first timeout of timer
was used to update this values. This fix triggers
an update only for initialiting the offset values
and does not notify the counter clients.
src/counter.c