Skip to content

Commit

Permalink
Update clamscan/manager.c
Browse files Browse the repository at this point in the history
Co-authored-by: Micah Snyder <[email protected]>
  • Loading branch information
ragusaa and micahsnyder committed May 15, 2024
1 parent c957555 commit a21ff45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clamscan/manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -1381,7 +1381,7 @@ int scanmanager(const struct optstruct *opts)

if ((opt = optget(opts, "max-recursion"))->active) {
uint32_t opt_value = opt->numarg;
if ((0 == opt_value) || (opt_value > CLI_MAX_MAXRECLEVEL)){
if ((0 == opt_value) || (opt_value > CLI_MAX_MAXRECLEVEL)) {
logg(LOGG_ERROR, "max-recursion set to %u, but cannot be larger than %u, and cannot be 0.\n",
opt_value, CLI_MAX_MAXRECLEVEL);
ret = 2;
Expand Down

0 comments on commit a21ff45

Please sign in to comment.