Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clamav - clamconf result question #1121

Merged
merged 2 commits into from
Dec 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion clamconf/clamconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ static void printopts(struct optstruct *opts, int nondef)

case CLOPT_TYPE_NUMBER:
case CLOPT_TYPE_SIZE:
case CLOPT_TYPE_SIZE64:
printf("%s = \"%lld\"", opts->name, opts->numarg);
opt = opts;
while ((opt = opt->nextarg))
Expand Down Expand Up @@ -169,7 +170,8 @@ static int printconf(const char *name)
break;

case CLOPT_TYPE_SIZE:
printf("# You may use 'M' or 'm' for megabytes (1M = 1m = 1048576 bytes)\n# and 'K' or 'k' for kilobytes (1K = 1k = 1024 bytes). To specify the size\n# in bytes just don't use modifiers.\n");
case CLOPT_TYPE_SIZE64:
printf("# You may use 'G' or 'g' for gigabytes (1G = 1g = 1,073,741,824 bytes)\n# 'M' or 'm' for megabytes (1M = 1m = 1048576 bytes)\n# and 'K' or 'k' for kilobytes (1K = 1k = 1024 bytes). To specify the size\n# in bytes just don't use modifiers.\n");
if (cpt->numarg != -1)
printf("# Default: %lld\n", cpt->numarg);
else
Expand Down
Loading