stuff
authorNathan S. Evans <evans@in.tum.de>
Mon, 25 Jul 2011 11:58:33 +0000 (11:58 +0000)
committerNathan S. Evans <evans@in.tum.de>
Mon, 25 Jul 2011 11:58:33 +0000 (11:58 +0000)
src/nse/gnunet-service-nse.c
src/nse/nse-profiler.c

index 4c0dae0e13cd923211c28cbe8dc4da8d2ba008a7..10ecac0262b5ef5177f8854dbde6146e3dcb9b9c 100644 (file)
@@ -984,7 +984,7 @@ handle_p2p_size_estimate(void *cls,
   else if (ts.abs_value == next_timestamp.abs_value - gnunet_nse_interval.rel_value)
     {
       if (matching_bits <= ntohl (next_message.matching_bits))
-       return GNUNET_OK; /* ignore, simply too early */      
+       return GNUNET_OK; /* ignore, simply too early/late */
       if (GNUNET_YES !=
          verify_message_crypto (incoming_flood))
        {
index 5eeb138964a1b204af0b5997ea4baef390dd0843..9760ba487e061c05d6e52ceb08269442510ff6a6 100644 (file)
@@ -246,6 +246,7 @@ connect_nse_service (void *cls,
     {
       if ((connection_limit > 0) && (i % (num_peers / connection_limit) != 0))
         continue;
+      GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "TEST_NSE_MULTIPEER: connecting to nse service of peer %d\n", i);
       current_peer = GNUNET_malloc(sizeof(struct NSEPeer));
       current_peer->daemon = GNUNET_TESTING_daemon_get(pg, i);
       if (GNUNET_YES == GNUNET_TESTING_daemon_running(GNUNET_TESTING_daemon_get(pg, i)))
@@ -438,7 +439,7 @@ churn_callback (void *cls, const char *emsg)
                  current_round);
       GNUNET_assert(disconnect_task == GNUNET_SCHEDULER_NO_TASK);
       GNUNET_asprintf(&temp_output_file, 
-                     "%s%lu.dot", 
+                     "%s_%lu.dot",
                      topology_file, 
                      current_round);
       GNUNET_TESTING_peergroup_topology_to_file(pg,