gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r35391 - gnunet/src/ats


From: gnunet
Subject: [GNUnet-SVN] r35391 - gnunet/src/ats
Date: Sun, 15 Mar 2015 01:07:34 +0100

Author: grothoff
Date: 2015-03-15 01:07:34 +0100 (Sun, 15 Mar 2015)
New Revision: 35391

Modified:
   gnunet/src/ats/test_ats_lib.c
Log:
try to fix timing issue in ATS test library

Modified: gnunet/src/ats/test_ats_lib.c
===================================================================
--- gnunet/src/ats/test_ats_lib.c       2015-03-14 23:27:00 UTC (rev 35390)
+++ gnunet/src/ats/test_ats_lib.c       2015-03-15 00:07:34 UTC (rev 35391)
@@ -166,7 +166,7 @@
                  GNUNET_CONTAINER_multipeermap_remove (p2asd,
                                                        key,
                                                        asd));
-  GNUNET_free (asd->address);
+  GNUNET_free_non_null (asd->address);
   GNUNET_free (asd);
   return GNUNET_OK;
 }
@@ -553,8 +553,9 @@
     if (amount != cmd->details.reserve_bandwidth.amount)
     {
       GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                  "Unexpectedly failed to reserve %d bytes with delay %s!\n",
+                  "Unexpectedly failed to reserve %d/%d bytes with delay 
%s!\n",
                   (int) amount,
+                  (int) cmd->details.reserve_bandwidth.amount,
                   GNUNET_STRINGS_relative_time_to_string (res_delay,
                                                           GNUNET_YES));
       GNUNET_break (0);
@@ -935,7 +936,8 @@
   asd->address = NULL;
   if (NULL != address)
     asd->address = GNUNET_HELLO_address_copy (address);
-  run_interpreter ();
+  if (NULL == interpreter_task)
+    run_interpreter ();
 }
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]