sparse fixup: warning: Using plain integer as NULL pointer
[tinc] / src / net_setup.c
index 543dad3..f0e1cdf 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);
        }