From 9cc2aee7fc232b4b393be8f0c91806da4fd61000 Mon Sep 17 00:00:00 2001 From: emanuele-f Date: Mon, 8 Jul 2019 22:56:13 +0200 Subject: [PATCH] Fix config load from file in Windows --- edge.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/edge.c b/edge.c index 33096ac..a66f842 100644 --- a/edge.c +++ b/edge.c @@ -620,13 +620,11 @@ int main(int argc, char* argv[]) { traceEvent(TRACE_NORMAL, "Starting n2n edge %s %s", PACKAGE_VERSION, PACKAGE_BUILDDATE); -#ifndef WIN32 if((argc >= 2) && (argv[1][0] != '-')) { rc = loadFromFile(argv[1], &conf, &ec); if(argc > 2) rc = loadFromCLI(argc, argv, &conf, &ec); } else -#endif rc = loadFromCLI(argc, argv, &conf, &ec); if(rc < 0)