gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r10497 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r10497 - gnunet/src/transport
Date: Fri, 5 Mar 2010 11:54:28 +0100

Author: nevans
Date: 2010-03-05 11:54:28 +0100 (Fri, 05 Mar 2010)
New Revision: 10497

Modified:
   gnunet/src/transport/gnunet-service-transport.c
Log:
disconnect neighbor on single failed address, wrong behavior

Modified: gnunet/src/transport/gnunet-service-transport.c
===================================================================
--- gnunet/src/transport/gnunet-service-transport.c     2010-03-05 06:39:15 UTC 
(rev 10496)
+++ gnunet/src/transport/gnunet-service-transport.c     2010-03-05 10:54:28 UTC 
(rev 10497)
@@ -829,7 +829,9 @@
  * if sender_address is not specified (NULL) then return the
  * first matching entry.  If sender_address is specified, then
  * make sure that the address and address_len also matches.
- *
+ * 
+ * FIXME: This description does not fit the function.
+ *  
  * @return NULL if not found.
  */
 static struct NeighbourList *
@@ -1095,8 +1097,10 @@
     transmit_send_ok (mq->client, n, result);
   GNUNET_free (mq);
   try_transmission_to_peer (n);
+  /** Never disconnect a neighbor here... 
   if (result != GNUNET_OK)
-    disconnect_neighbour (n, GNUNET_YES);    
+    disconnect_neighbour (n, GNUNET_YES);
+  */    
 }
 
 





reply via email to

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