From ff39fe3b38f76da42633a8b7b7a5c123a3eb2081 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 20 Oct 2010 13:16:11 +0000 Subject: [PATCH] check reserved --- src/statistics/statistics_api.c | 1 + 1 file changed, 1 insertion(+) 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, return GNUNET_SYSERR; } wvm = (const struct GNUNET_STATISTICS_WatchValueMessage *)msg; + GNUNET_break (0 == ntohl (wvm->reserved)); wid = ntohl (wvm->wid); if (wid >= h->watches_size) { -- 2.25.1