From fabbc781bb11f66383f2ef37ef84ec23094244d6 Mon Sep 17 00:00:00 2001 From: Saverio Proto Date: Mon, 18 Aug 2014 17:35:56 +0200 Subject: [PATCH] manynodes: do not add localhost as node's address --- examples/manynodes.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/manynodes.c b/examples/manynodes.c index bc3a1a17..99a3e5b2 100644 --- a/examples/manynodes.c +++ b/examples/manynodes.c @@ -363,8 +363,6 @@ int main(int argc, char *argv[]) { bool itsnew = access(filename, R_OK); mesh[i] = meshlink_open(filename, nodename, "manynodes", i%_DEV_CLASS_MAX); meshlink_set_log_cb(mesh[i], MESHLINK_WARNING, log_message); - if(itsnew) - meshlink_add_address(mesh[i], "localhost"); if(!mesh[i]) { fprintf(stderr, "errno is: %d\n", meshlink_errno); fprintf(stderr, "Could not open %s: %s\n", filename, meshlink_strerror(meshlink_errno)); -- 2.39.5