diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-10-20 13:16:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-10-20 13:16:11 +0000 |
commit | ff39fe3b38f76da42633a8b7b7a5c123a3eb2081 (patch) | |
tree | 5587b34260bb0aab10ccc68765a23b3a0376bb47 /src/statistics | |
parent | e024620ec04d444a91599c731d32d97d59464ae8 (diff) | |
download | gnunet-ff39fe3b38f76da42633a8b7b7a5c123a3eb2081.tar.gz gnunet-ff39fe3b38f76da42633a8b7b7a5c123a3eb2081.zip |
check reserved
Diffstat (limited to 'src/statistics')
-rw-r--r-- | src/statistics/statistics_api.c | 1 |
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 | { |