diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-03-31 15:35:00 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-03-31 15:35:00 +0000 |
commit | dfe8a19d9d0aebc8711992a99628732dbe674621 (patch) | |
tree | 12f188f126d79ac73f8d46f112b53e34c7e5e677 /src/fs/gnunet-service-fs_cp.c | |
parent | b6f0365dd1cf3fbd6af64500cf9547583989e68b (diff) | |
download | gnunet-dfe8a19d9d0aebc8711992a99628732dbe674621.tar.gz gnunet-dfe8a19d9d0aebc8711992a99628732dbe674621.zip |
fix migration support
Diffstat (limited to 'src/fs/gnunet-service-fs_cp.c')
-rw-r--r-- | src/fs/gnunet-service-fs_cp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs_cp.c b/src/fs/gnunet-service-fs_cp.c index 3298a5216..702442bb2 100644 --- a/src/fs/gnunet-service-fs_cp.c +++ b/src/fs/gnunet-service-fs_cp.c | |||
@@ -509,6 +509,7 @@ revive_migration (void *cls, | |||
509 | * Get a handle for a connected peer. | 509 | * Get a handle for a connected peer. |
510 | * | 510 | * |
511 | * @param peer peer's identity | 511 | * @param peer peer's identity |
512 | * @return NULL if the peer is not currently connected | ||
512 | */ | 513 | */ |
513 | struct GSF_ConnectedPeer * | 514 | struct GSF_ConnectedPeer * |
514 | GSF_peer_get_ (const struct GNUNET_PeerIdentity *peer) | 515 | GSF_peer_get_ (const struct GNUNET_PeerIdentity *peer) |
@@ -548,6 +549,10 @@ GSF_handle_p2p_migration_stop_ (void *cls, | |||
548 | return GNUNET_OK; | 549 | return GNUNET_OK; |
549 | } | 550 | } |
550 | bt = GNUNET_TIME_relative_ntoh (msm->duration); | 551 | bt = GNUNET_TIME_relative_ntoh (msm->duration); |
552 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | ||
553 | _("Migration of content to peer `%s' blocked for %llu ms\n"), | ||
554 | GNUNET_i2s (other), | ||
555 | (unsigned long long) bt.rel_value); | ||
551 | cp->ppd.migration_blocked_until = GNUNET_TIME_relative_to_absolute (bt); | 556 | cp->ppd.migration_blocked_until = GNUNET_TIME_relative_to_absolute (bt); |
552 | if (cp->mig_revive_task == GNUNET_SCHEDULER_NO_TASK) | 557 | if (cp->mig_revive_task == GNUNET_SCHEDULER_NO_TASK) |
553 | { | 558 | { |