]> git.meshlink.io Git - meshlink/blobdiff - src/protocol_edge.c
Improved sample application
[meshlink] / src / protocol_edge.c
index e1d2051b2186be9e5c14fe27dc35e694c41b7f7b..e285a6deaac66161a44a334436c7bfba41acf74e 100644 (file)
@@ -21,7 +21,6 @@
 
 #include "system.h"
 
-#include "splay_tree.h"
 #include "conf.h"
 #include "connection.h"
 #include "edge.h"
@@ -231,7 +230,7 @@ bool del_edge_h(connection_t *c, const char *request) {
                logger(DEBUG_PROTOCOL, LOG_WARNING, "Got %s from %s (%s) for ourself",
                                   "DEL_EDGE", c->name, c->hostname);
                contradicting_del_edge++;
-               send_add_edge(c, e);    /* Send back a correction */
+               send_add_edge(c, e);    /* Send back a correction */
                return true;
        }