]> git.meshlink.io Git - meshlink/blobdiff - test/trio.c
Add condition check in auto connect for blacklisted nodes
[meshlink] / test / trio.c
index c82821f1caf9dfb174f49066e79dc6a42f311de5..79013a6f5e3ed016a144fad68bb2c52b249ecb5e 100644 (file)
@@ -53,7 +53,9 @@ int main() {
 
        for(int i = 0; i < 3; i++) {
                char *path;
-               asprintf(&path, "trio_conf.%d", i);
+               int ret_val;
+               (void)ret_val;
+               ret_val = asprintf(&path, "trio_conf.%d", i);
                assert(path);
 
                mesh[i] = meshlink_open(path, name[i], "trio", DEV_CLASS_BACKBONE);