diff options
-rw-r--r-- | .github/workflows/build.yml | 2 | ||||
-rw-r--r-- | example/ndpiReader.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fdd6f00ea..107ee7ee8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -313,7 +313,7 @@ jobs: - name: Print nDPI long help if: startsWith(matrix.arch, 'x86_64') && !startsWith(matrix.os, 'windows') run: | - ./example/ndpiReader -H + cd ./example && ./ndpiReader -H - name: Install nDPI if: startsWith(matrix.arch, 'x86_64') && !startsWith(matrix.os, 'windows') run: | diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 5c050991b..686540aaf 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -5649,9 +5649,9 @@ void domainsUnitTest() { assert(strcmp(ndpi_get_host_domain_suffix(ndpi_info_mod, "www.unipi.it"), "it") == 0); assert(strcmp(ndpi_get_host_domain_suffix(ndpi_info_mod, "mail.apple.com"), "com") == 0); assert(strcmp(ndpi_get_host_domain_suffix(ndpi_info_mod, "www.bbc.co.uk"), "co.uk") == 0); - - ndpi_exit_detection_module(ndpi_info_mod); } + + ndpi_exit_detection_module(ndpi_info_mod); } /* *********************************************** */ |