diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-21 15:26:44 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-21 15:26:44 +0000 |
commit | e6564f58135e5359d0bf8c484850bd79b776284d (patch) | |
tree | 077f3be42867f9fbc472e19c1d564c501b0d43be /src/fs | |
parent | 8b27b58969cb4cd4ce1e6f8e683d864c2f6c24af (diff) | |
download | gnunet-e6564f58135e5359d0bf8c484850bd79b776284d.tar.gz gnunet-e6564f58135e5359d0bf8c484850bd79b776284d.zip |
fs using ats data
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/gnunet-service-fs.c | 6 | ||||
-rw-r--r-- | src/fs/gnunet-service-fs_cp.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c index a4e18480e..300aac45a 100644 --- a/src/fs/gnunet-service-fs.c +++ b/src/fs/gnunet-service-fs.c | |||
@@ -278,7 +278,7 @@ handle_p2p_put (void *cls, const struct GNUNET_PeerIdentity *other, | |||
278 | return GNUNET_OK; | 278 | return GNUNET_OK; |
279 | } | 279 | } |
280 | GSF_cover_content_count++; | 280 | GSF_cover_content_count++; |
281 | fprintf (stderr, "FIX ATS DATA!\n"); | 281 | fprintf (stderr, "FIX ATS DATA: %s:%u!\n", __FILE__, __LINE__); |
282 | update_latencies (NULL, 0); | 282 | update_latencies (NULL, 0); |
283 | return GSF_handle_p2p_content_ (cp, message); | 283 | return GSF_handle_p2p_content_ (cp, message); |
284 | } | 284 | } |
@@ -357,7 +357,7 @@ handle_p2p_get (void *cls, const struct GNUNET_PeerIdentity *other, | |||
357 | return GNUNET_SYSERR; | 357 | return GNUNET_SYSERR; |
358 | GSF_pending_request_get_data_ (pr)->has_started = GNUNET_YES; | 358 | GSF_pending_request_get_data_ (pr)->has_started = GNUNET_YES; |
359 | GSF_local_lookup_ (pr, &consider_forwarding, NULL); | 359 | GSF_local_lookup_ (pr, &consider_forwarding, NULL); |
360 | fprintf (stderr, "FIX ATS DATA!\n"); | 360 | fprintf (stderr, "FIX ATS DATA: %s:%u!\n", __FILE__, __LINE__); |
361 | update_latencies (NULL, 0); | 361 | update_latencies (NULL, 0); |
362 | return GNUNET_OK; | 362 | return GNUNET_OK; |
363 | } | 363 | } |
@@ -540,7 +540,7 @@ peer_connect_handler (void *cls, const struct GNUNET_PeerIdentity *peer) | |||
540 | 540 | ||
541 | if (0 == memcmp (&my_id, peer, sizeof (struct GNUNET_PeerIdentity))) | 541 | if (0 == memcmp (&my_id, peer, sizeof (struct GNUNET_PeerIdentity))) |
542 | return; | 542 | return; |
543 | fprintf (stderr, "FIX ATS DATA!\n"); | 543 | fprintf (stderr, "FIX ATS DATA: %s:%u!\n", __FILE__, __LINE__); |
544 | cp = GSF_peer_connect_handler_ (peer, NULL, 0); | 544 | cp = GSF_peer_connect_handler_ (peer, NULL, 0); |
545 | if (NULL == cp) | 545 | if (NULL == cp) |
546 | return; | 546 | return; |
diff --git a/src/fs/gnunet-service-fs_cp.c b/src/fs/gnunet-service-fs_cp.c index 6e1f8728a..6d917f14d 100644 --- a/src/fs/gnunet-service-fs_cp.c +++ b/src/fs/gnunet-service-fs_cp.c | |||
@@ -720,7 +720,7 @@ GSF_handle_p2p_migration_stop_ (void *cls, | |||
720 | cp->mig_revive_task = | 720 | cp->mig_revive_task = |
721 | GNUNET_SCHEDULER_add_delayed (bt, &revive_migration, cp); | 721 | GNUNET_SCHEDULER_add_delayed (bt, &revive_migration, cp); |
722 | } | 722 | } |
723 | fprintf (stderr, "FIX ATS DATA!\n"); | 723 | fprintf (stderr, "FIX ATS DATA: %s:%u!\n", __FILE__, __LINE__); |
724 | update_atsi (cp, NULL, 0); | 724 | update_atsi (cp, NULL, 0); |
725 | return GNUNET_OK; | 725 | return GNUNET_OK; |
726 | } | 726 | } |