diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-10-20 13:17:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-10-20 13:17:04 +0000 |
commit | 086092274020d3f6c78a71dbbdd9076cf7657f79 (patch) | |
tree | b0e4fe63a4bb2d73146695283e7bf420fa0a2abd /src/peerinfo/peerinfo_api.c | |
parent | d21f5a91f94fc659923950526c682759791414eb (diff) | |
download | gnunet-086092274020d3f6c78a71dbbdd9076cf7657f79.tar.gz gnunet-086092274020d3f6c78a71dbbdd9076cf7657f79.zip |
check reserved
Diffstat (limited to 'src/peerinfo/peerinfo_api.c')
-rw-r--r-- | src/peerinfo/peerinfo_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c index 865c6e520..5803b076a 100644 --- a/src/peerinfo/peerinfo_api.c +++ b/src/peerinfo/peerinfo_api.c | |||
@@ -434,6 +434,7 @@ peerinfo_handler (void *cls, const struct GNUNET_MessageHeader *msg) | |||
434 | return; | 434 | return; |
435 | } | 435 | } |
436 | im = (const struct InfoMessage *) msg; | 436 | im = (const struct InfoMessage *) msg; |
437 | GNUNET_break (0 == ntohl (im->reserved)); | ||
437 | hello = NULL; | 438 | hello = NULL; |
438 | if (ms > sizeof (struct InfoMessage) + sizeof (struct GNUNET_MessageHeader)) | 439 | if (ms > sizeof (struct InfoMessage) + sizeof (struct GNUNET_MessageHeader)) |
439 | { | 440 | { |