aboutsummaryrefslogtreecommitdiff
path: root/src/statistics
diff options
context:
space:
mode:
Diffstat (limited to 'src/statistics')
-rw-r--r--src/statistics/statistics_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/statistics/statistics_api.c b/src/statistics/statistics_api.c
index 29b1cbbfd..ef9865e02 100644
--- a/src/statistics/statistics_api.c
+++ b/src/statistics/statistics_api.c
@@ -441,6 +441,7 @@ process_watch_value (struct GNUNET_STATISTICS_Handle *h,
441 return GNUNET_SYSERR; 441 return GNUNET_SYSERR;
442 } 442 }
443 wvm = (const struct GNUNET_STATISTICS_WatchValueMessage *)msg; 443 wvm = (const struct GNUNET_STATISTICS_WatchValueMessage *)msg;
444 GNUNET_break (0 == ntohl (wvm->reserved));
444 wid = ntohl (wvm->wid); 445 wid = ntohl (wvm->wid);
445 if (wid >= h->watches_size) 446 if (wid >= h->watches_size)
446 { 447 {