From e4d05c611a710440b6c26a644acc9309c2072171 Mon Sep 17 00:00:00 2001 From: local Date: Fri, 10 Jan 2020 13:48:09 +0200 Subject: [PATCH] Argument fixed Signed-off-by: local --- WindowsDriver/WindowsDriver/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WindowsDriver/WindowsDriver/main.cpp b/WindowsDriver/WindowsDriver/main.cpp index e4677c7..44b4dfb 100644 --- a/WindowsDriver/WindowsDriver/main.cpp +++ b/WindowsDriver/WindowsDriver/main.cpp @@ -4,11 +4,11 @@ int main(int argc, char* argv[]) { - /* + if (argc < 2) { return -1; - }*/ - feeder* f = new feeder("192.168.1.158", 1182); + } + feeder* f = new feeder(argv[1], 1182); int res = f->connect(); printf("%d\n", res); f->start_feeder_thread();