aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dht/dht_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dht/dht_api.c b/src/dht/dht_api.c
index 66eaf1064..070d248ed 100644
--- a/src/dht/dht_api.c
+++ b/src/dht/dht_api.c
@@ -503,7 +503,7 @@ check_monitor_get (void *cls,
503 uint16_t msize = ntohs (msg->header.size) - sizeof (*msg); 503 uint16_t msize = ntohs (msg->header.size) - sizeof (*msg);
504 504
505 if ( (plen > UINT16_MAX) || 505 if ( (plen > UINT16_MAX) ||
506 (plen * sizeof (struct GNUNET_HashCode) != msize) ) 506 (plen * sizeof (struct GNUNET_PeerIdentity) != msize) )
507 { 507 {
508 GNUNET_break (0); 508 GNUNET_break (0);
509 return GNUNET_SYSERR; 509 return GNUNET_SYSERR;