From: Jeff Lucovsky Date: Tue, 28 Apr 2020 12:48:26 +0000 (-0400) Subject: dag: Fix parameters passed to thread-check X-Git-Tag: suricata-6.0.0-beta1~430 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9db8a917a216dc3a752401c9389d4cb24d4e1148;p=thirdparty%2Fsuricata.git dag: Fix parameters passed to thread-check This commit corrects an error introduced earlier: the call to `TmThreadsCaptureHandleTimeout` is passing too many parameters. --- diff --git a/src/source-erf-dag.c b/src/source-erf-dag.c index 71be63fc34..82f39f26b6 100644 --- a/src/source-erf-dag.c +++ b/src/source-erf-dag.c @@ -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; }