]> git.meshlink.io Git - meshlink/blobdiff - src/net_setup.c
sparse fixup: warning: Using plain integer as NULL pointer
[meshlink] / src / net_setup.c
index 543dad303b00ee00b40939eb9d03c26b1df08234..f0e1cdfe948bdf1a75524c8c477a287b1a441b6c 100644 (file)
@@ -608,7 +608,7 @@ void close_network_connections(void) {
        for(node = connection_tree->head; node; node = next) {
                next = node->next;
                c = node->data;
-               c->outgoing = false;
+               c->outgoing = NULL;
                terminate_connection(c, false);
        }