aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-12-21 14:24:06 +0000
committerChristian Grothoff <christian@grothoff.org>2010-12-21 14:24:06 +0000
commitf74eb743c300f11a539f52861aedc4f48fb7e745 (patch)
tree6630e069dcd8614b560f0a6547c921fbf29b9e64
parent9eb06f96cc7c8f9124b90fef62d7738e1684db78 (diff)
fix
-rw-r--r--src/fs/gnunet-service-fs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c
index 08b01fbbf5..fc55728b99 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! */