fs using ats data
authorMatthias Wachs <wachs@net.in.tum.de>
Thu, 21 Mar 2013 15:26:44 +0000 (15:26 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Thu, 21 Mar 2013 15:26:44 +0000 (15:26 +0000)
src/fs/gnunet-service-fs.c
src/fs/gnunet-service-fs_cp.c

index a4e18480e8f72c4f78d9fdb1aad02ec1059a0f3d..300aac45ad3dbe13cc58e8ed727511dca0112e33 100644 (file)
@@ -278,7 +278,7 @@ handle_p2p_put (void *cls, const struct GNUNET_PeerIdentity *other,
     return GNUNET_OK;
   }
   GSF_cover_content_count++;
-  fprintf (stderr, "FIX ATS DATA!\n");
+  fprintf (stderr, "FIX ATS DATA: %s:%u!\n", __FILE__, __LINE__);
   update_latencies (NULL, 0);
   return GSF_handle_p2p_content_ (cp, message);
 }
@@ -357,7 +357,7 @@ handle_p2p_get (void *cls, const struct GNUNET_PeerIdentity *other,
     return GNUNET_SYSERR;
   GSF_pending_request_get_data_ (pr)->has_started = GNUNET_YES;
   GSF_local_lookup_ (pr, &consider_forwarding, NULL);
-  fprintf (stderr, "FIX ATS DATA!\n");
+  fprintf (stderr, "FIX ATS DATA: %s:%u!\n", __FILE__, __LINE__);
   update_latencies (NULL, 0);
   return GNUNET_OK;
 }
@@ -540,7 +540,7 @@ peer_connect_handler (void *cls, const struct GNUNET_PeerIdentity *peer)
 
   if (0 == memcmp (&my_id, peer, sizeof (struct GNUNET_PeerIdentity)))
     return;
-  fprintf (stderr, "FIX ATS DATA!\n");
+  fprintf (stderr, "FIX ATS DATA: %s:%u!\n", __FILE__, __LINE__);
   cp = GSF_peer_connect_handler_ (peer, NULL, 0);
   if (NULL == cp)
     return;
index 6e1f8728a16e2772d63cfe50ef556fa354c32c10..6d917f14def82edca1f19a28ed7622b40d85ade0 100644 (file)
@@ -720,7 +720,7 @@ GSF_handle_p2p_migration_stop_ (void *cls,
     cp->mig_revive_task =
         GNUNET_SCHEDULER_add_delayed (bt, &revive_migration, cp);
   }
-  fprintf (stderr, "FIX ATS DATA!\n");
+  fprintf (stderr, "FIX ATS DATA: %s:%u!\n", __FILE__, __LINE__);
   update_atsi (cp, NULL, 0);
   return GNUNET_OK;
 }