gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r15626 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r15626 - gnunet/src/mesh
Date: Wed, 15 Jun 2011 09:15:49 +0200

Author: toelke
Date: 2011-06-15 09:15:49 +0200 (Wed, 15 Jun 2011)
New Revision: 15626

Modified:
   gnunet/src/mesh/mesh_api.c
Log:
Do not connect to self when you find that another peer can handle an 
application-type

Modified: gnunet/src/mesh/mesh_api.c
===================================================================
--- gnunet/src/mesh/mesh_api.c  2011-06-15 07:15:48 UTC (rev 15625)
+++ gnunet/src/mesh/mesh_api.c  2011-06-15 07:15:49 UTC (rev 15626)
@@ -496,7 +496,7 @@
       for (i = element->type_head; i != NULL; i = i->next)
         if (application_type == i->type)
           return GNUNET_MESH_peer_request_connect_all (handle, timeout, 1,
-                                                       &handle->myself,
+                                                       &element->peer,
                                                        connect_handler,
                                                        disconnect_handler,
                                                        handler_cls);




reply via email to

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