From fbfedaf5d0161f6be92141e7253956093415c323 Mon Sep 17 00:00:00 2001 From: ragusaa <54862477+ragusaa@users.noreply.github.com> Date: Wed, 8 May 2024 16:48:20 -0400 Subject: [PATCH] Update clamd/server-th.c Co-authored-by: Micah Snyder --- clamd/server-th.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clamd/server-th.c b/clamd/server-th.c index 78ee5ef6b4..29372d68da 100644 --- a/clamd/server-th.c +++ b/clamd/server-th.c @@ -982,7 +982,7 @@ int recvloop(int *socketds, unsigned nsockets, struct cl_engine *engine, unsigne #endif if ((opt = optget(opts, "MaxRecursion"))->active) { - if ((0 == opt->numarg) || (opt->numarg > CLI_MAX_MAXRECLEVEL)){ + if ((0 == opt->numarg) || (opt->numarg > CLI_MAX_MAXRECLEVEL)) { logg(LOGG_ERROR, "MaxRecursion set to %zu, but cannot be larger than %u, and cannot be 0.\n", (size_t) opt->numarg, CLI_MAX_MAXRECLEVEL); cl_engine_free(engine);