From b00ce59fa0aaaa95f74367252946c0fbcbf1d7e2 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Tue, 12 Jan 2021 13:44:05 +0100 Subject: [PATCH] Fix the number of input parameters to the executable --- jf-udp-recv/src/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jf-udp-recv/src/main.cpp b/jf-udp-recv/src/main.cpp index 6d9961e..49668a1 100644 --- a/jf-udp-recv/src/main.cpp +++ b/jf-udp-recv/src/main.cpp @@ -1,7 +1,6 @@ #include #include #include -#include #include #include "formats.hpp" @@ -17,7 +16,7 @@ using namespace BufferUtils; int main (int argc, char *argv[]) { - if (argc != 2) { + if (argc != 3) { cout << endl; cout << "Usage: jf_udp_recv [detector_json_filename] [module_id]"; cout << endl;