diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-12-21 14:24:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-12-21 14:24:06 +0000 |
commit | f74eb743c300f11a539f52861aedc4f48fb7e745 (patch) | |
tree | 6630e069dcd8614b560f0a6547c921fbf29b9e64 /src/fs/gnunet-service-fs.c | |
parent | 9eb06f96cc7c8f9124b90fef62d7738e1684db78 (diff) | |
download | gnunet-f74eb743c300f11a539f52861aedc4f48fb7e745.tar.gz gnunet-f74eb743c300f11a539f52861aedc4f48fb7e745.zip |
fix
Diffstat (limited to 'src/fs/gnunet-service-fs.c')
-rw-r--r-- | src/fs/gnunet-service-fs.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, | |||
3739 | { | 3739 | { |
3740 | cp = GNUNET_CONTAINER_multihashmap_get (connected_peers, | 3740 | cp = GNUNET_CONTAINER_multihashmap_get (connected_peers, |
3741 | &other->hashPubKey); | 3741 | &other->hashPubKey); |
3742 | GNUNET_assert (NULL != cp); | ||
3742 | if (GNUNET_TIME_absolute_get_duration (cp->last_migration_block).rel_value < 5000) | 3743 | if (GNUNET_TIME_absolute_get_duration (cp->last_migration_block).rel_value < 5000) |
3743 | return GNUNET_OK; /* already blocked */ | 3744 | return GNUNET_OK; /* already blocked */ |
3744 | /* We're too busy; send MigrationStop message! */ | 3745 | /* We're too busy; send MigrationStop message! */ |