]> git.meshlink.io Git - meshlink-tiny/blobdiff - test/channels-aio-fd.c
Add memory profiling.
[meshlink-tiny] / test / channels-aio-fd.c
index 3cac823c5c0943ceb37e11bd816264ae81373e70..0917fa82ddc6c2421737a4ad629b43ec9aaeadcf 100644 (file)
@@ -12,7 +12,7 @@
 #include <time.h>
 #include <limits.h>
 
-#include "meshlink.h"
+#include "meshlink-tiny.h"
 #include "utils.h"
 
 static const size_t size = 1024 * 1024; // size of data to transfer
@@ -102,9 +102,6 @@ int main(void) {
 
        mesh_b->priv = in_infos;
 
-       meshlink_enable_discovery(mesh_a, false);
-       meshlink_enable_discovery(mesh_b, false);
-
        // Set the callbacks.
 
        meshlink_set_channel_accept_cb(mesh_b, accept_cb);