fix
authorChristian Grothoff <christian@grothoff.org>
Tue, 21 Dec 2010 14:24:06 +0000 (14:24 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 21 Dec 2010 14:24:06 +0000 (14:24 +0000)
src/fs/gnunet-service-fs.c

index 08b01fbbf561819e6a96763e1a432382367ba6e1..fc55728b99b2854470b966d8c583517771907647 100644 (file)
@@ -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! */