]> git.meshlink.io Git - meshlink-tiny/blobdiff - src/connection.c
Remove logging when compiled with -DNDEBUG.
[meshlink-tiny] / src / connection.c
index 97e391823ec1272dfb338b272de40e7ed82efe35..fd95ce922a3d109d1b1278759112a7efb201a43c 100644 (file)
@@ -30,6 +30,7 @@
 
 void init_connections(meshlink_handle_t *mesh) {
        assert(!mesh->connection);
+       mesh->connection = NULL;
 }
 
 void exit_connections(meshlink_handle_t *mesh) {