]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
dag: Fix parameters passed to thread-check
authorJeff Lucovsky <jeff@lucovsky.org>
Tue, 28 Apr 2020 12:48:26 +0000 (08:48 -0400)
committerVictor Julien <victor@inliniac.net>
Wed, 29 Apr 2020 19:37:53 +0000 (21:37 +0200)
This commit corrects an error introduced earlier: the call to
`TmThreadsCaptureHandleTimeout` is passing too many parameters.

src/source-erf-dag.c

index 71be63fc34bb64f6c6ab355b5a646003c8033f51..82f39f26b6f3db60cd72859670ff8d2179ff34d6 100644 (file)
@@ -349,7 +349,7 @@ ReceiveErfDagLoop(ThreadVars *tv, void *data, void *slot)
         if (top == NULL) {
             if (errno == EAGAIN) {
                 if (dtv->dagstream & 0x1) {
-                    TmThreadsCaptureHandleTimeout(tv, dtv->slot, NULL);
+                    TmThreadsCaptureHandleTimeout(tv, NULL);
                     usleep(10 * 1000);
                     dtv->btm = dtv->top;
                 }