gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r31854 - gnunet-gtk/src/peerinfo


From: gnunet
Subject: [GNUnet-SVN] r31854 - gnunet-gtk/src/peerinfo
Date: Thu, 9 Jan 2014 11:33:43 +0100

Author: grothoff
Date: 2014-01-09 11:33:43 +0100 (Thu, 09 Jan 2014)
New Revision: 31854

Modified:
   gnunet-gtk/src/peerinfo/gnunet-peerinfo-gtk.c
Log:
-fix signature, API change in NAT

Modified: gnunet-gtk/src/peerinfo/gnunet-peerinfo-gtk.c
===================================================================
--- gnunet-gtk/src/peerinfo/gnunet-peerinfo-gtk.c       2014-01-09 10:32:26 UTC 
(rev 31853)
+++ gnunet-gtk/src/peerinfo/gnunet-peerinfo-gtk.c       2014-01-09 10:33:43 UTC 
(rev 31854)
@@ -177,12 +177,12 @@
 
   /**
    * DLL.
-   */ 
+   */
   struct PeerAddress *next;
 
   /**
    * DLL.
-   */ 
+   */
   struct PeerAddress *prev;
 
   /**
@@ -230,12 +230,12 @@
 
   /**
    * Head of DLL with addresses of this peer.
-   */ 
+   */
   struct PeerAddress *pa_head;
 
   /**
    * Tail of DLL with addresses of this peer.
-   */ 
+   */
   struct PeerAddress *pa_tail;
 
 };
@@ -347,11 +347,6 @@
   struct PeerInfo *info = value;
   struct PeerAddress *pa;
 
-  if (NULL != info->palc)
-  {
-    GNUNET_TRANSPORT_peer_get_active_addresses_cancel (info->palc);
-    info->palc = NULL;
-  }
   while (NULL != (pa = info->pa_head))
   {
     GNUNET_CONTAINER_DLL_remove (info->pa_head,
@@ -361,7 +356,7 @@
     {
       GNUNET_TRANSPORT_address_to_string_cancel (pa->tos);
       pa->tos = NULL;
-    } 
+    }
     gtk_tree_row_reference_free (pa->rr);
     GNUNET_free (pa);
   }
@@ -378,7 +373,7 @@
  * @param tc scheduler context, unused
  */
 static void
-shutdown_task (void *cls, 
+shutdown_task (void *cls,
               const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
   GNUNET_GTK_tray_icon_destroy ();
@@ -548,14 +543,6 @@
     GNUNET_CONTAINER_multipeermap_put (peer2info, peer, info,
                                        
GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY);
   }
-  if (NULL == info->palc)
-  {
-    info->palc =
-        GNUNET_TRANSPORT_peer_get_active_addresses (get_configuration (), peer,
-                                                    GNUNET_NO,
-                                                    
GNUNET_TIME_UNIT_FOREVER_REL,
-                                                    &peer_address_cb, info);
-  }
 }
 
 




reply via email to

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