aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-03-21 15:26:44 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-03-21 15:26:44 +0000
commite6564f58135e5359d0bf8c484850bd79b776284d (patch)
tree077f3be42867f9fbc472e19c1d564c501b0d43be /src/fs/gnunet-service-fs.c
parent8b27b58969cb4cd4ce1e6f8e683d864c2f6c24af (diff)
downloadgnunet-e6564f58135e5359d0bf8c484850bd79b776284d.tar.gz
gnunet-e6564f58135e5359d0bf8c484850bd79b776284d.zip
fs using ats data
Diffstat (limited to 'src/fs/gnunet-service-fs.c')
-rw-r--r--src/fs/gnunet-service-fs.c6
1 files changed, 3 insertions, 3 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;