From: Christian Grothoff Date: Tue, 21 Dec 2010 14:24:06 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~19469 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f74eb743c300f11a539f52861aedc4f48fb7e745;p=oweals%2Fgnunet.git fix --- diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c index 08b01fbbf..fc55728b9 100644 --- a/src/fs/gnunet-service-fs.c +++ b/src/fs/gnunet-service-fs.c @@ -3739,6 +3739,7 @@ handle_p2p_put (void *cls, { cp = GNUNET_CONTAINER_multihashmap_get (connected_peers, &other->hashPubKey); + GNUNET_assert (NULL != cp); if (GNUNET_TIME_absolute_get_duration (cp->last_migration_block).rel_value < 5000) return GNUNET_OK; /* already blocked */ /* We're too busy; send MigrationStop message! */