check reserved
authorChristian Grothoff <christian@grothoff.org>
Wed, 20 Oct 2010 13:16:11 +0000 (13:16 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 20 Oct 2010 13:16:11 +0000 (13:16 +0000)
src/statistics/statistics_api.c

index 29b1cbbfdcba2bf557d9ebd401b3d1b98a634465..ef9865e0243d18a2cbbdb279fb4ee7840cf6a313 100644 (file)
@@ -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)
     {