]> git.meshlink.io Git - meshlink/blobdiff - src/net_socket.c
We can safely delete a connection_t in terminate_connection() now.
[meshlink] / src / net_socket.c
index 9c8ef05ab53c85a911b6343c9b0ed13a26e0bdf6..3fea33e18ed2896bd81ec00bc8f3a7ba26596cc9 100644 (file)
@@ -22,7 +22,7 @@
 
 #include "system.h"
 
-#include "avl_tree.h"
+#include "splay_tree.h"
 #include "conf.h"
 #include "connection.h"
 #include "logger.h"
@@ -274,7 +274,6 @@ begin:
                if(!c->outgoing->cfg) {
                        ifdebug(CONNECTIONS) logger(LOG_ERR, _("Could not set up a meta connection to %s"),
                                           c->name);
-                       c->status.remove = true;
                        retry_outgoing(c->outgoing);
                        return;
                }