gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r25070 - in gnunet/src: ats ats-tool


From: gnunet
Subject: [GNUnet-SVN] r25070 - in gnunet/src: ats ats-tool
Date: Tue, 20 Nov 2012 16:00:23 +0100

Author: wachs
Date: 2012-11-20 16:00:22 +0100 (Tue, 20 Nov 2012)
New Revision: 25070

Modified:
   gnunet/src/ats-tool/gnunet-ats.c
   gnunet/src/ats/ats_api_performance.c
Log:
 changes, almost done

Modified: gnunet/src/ats/ats_api_performance.c
===================================================================
--- gnunet/src/ats/ats_api_performance.c        2012-11-20 14:30:14 UTC (rev 
25069)
+++ gnunet/src/ats/ats_api_performance.c        2012-11-20 15:00:22 UTC (rev 
25070)
@@ -504,6 +504,8 @@
       (0 == ats_count))
   {
       /* Done */
+      GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+          _("Received last message for %s \n"), "ATS_ADDRESSLIST_RESPONSE");
       bandwidth_zero.value__ = htonl (0);
       alh->cb (ph->infocb_cls,
               NULL,
@@ -517,7 +519,7 @@
   address.address_length = plugin_address_length;
   address.transport_name = plugin_name;
 
-  if ((GNUNET_YES == alh->all_peers) || (GNUNET_YES == active))
+  if ((GNUNET_YES == alh->all_addresses) || (GNUNET_YES == active))
   {
     alh->cb (ph->infocb_cls,
             &address,

Modified: gnunet/src/ats-tool/gnunet-ats.c
===================================================================
--- gnunet/src/ats-tool/gnunet-ats.c    2012-11-20 14:30:14 UTC (rev 25069)
+++ gnunet/src/ats-tool/gnunet-ats.c    2012-11-20 15:00:22 UTC (rev 25070)
@@ -283,11 +283,6 @@
         FPRINTF (stderr, _("Failed to parse peer identity `%s'\n"), pid_str);
         return;
       }
-      if (NULL == type_str)
-      {
-        FPRINTF (stderr, "%s", _("Type required\n"));
-        return;
-      }
   }
 
   c = op_list_all + op_list_used + op_monitor + op_set_pref;
@@ -411,6 +406,7 @@
   op_monitor = GNUNET_NO;
   op_list_all = GNUNET_NO;
   op_list_used = GNUNET_NO;
+  op_set_pref = GNUNET_NO;
   pending = 0;
   receive_done = GNUNET_NO;
 




reply via email to

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