From 9db8a917a216dc3a752401c9389d4cb24d4e1148 Mon Sep 17 00:00:00 2001 From: Jeff Lucovsky Date: Tue, 28 Apr 2020 08:48:26 -0400 Subject: [PATCH] dag: Fix parameters passed to thread-check This commit corrects an error introduced earlier: the call to `TmThreadsCaptureHandleTimeout` is passing too many parameters. --- src/source-erf-dag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }