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 66eaf10647..070d248edd 100644
--- a/src/dht/dht_api.c
+++ b/src/dht/dht_api.c
@@ -503,7 +503,7 @@ check_monitor_get (void *cls,
uint16_t msize = ntohs (msg->header.size) - sizeof (*msg);
if ( (plen > UINT16_MAX) ||
- (plen * sizeof (struct GNUNET_HashCode) != msize) )
+ (plen * sizeof (struct GNUNET_PeerIdentity) != msize) )
{
GNUNET_break (0);
return GNUNET_SYSERR;