1
0
mirror of https://github.com/mirror/wget.git synced 2025-04-24 04:05:05 +08:00

* src/init.c (setoptval): Add missing comma (fix compilation)

This commit is contained in:
Tim Rühsen 2020-02-20 17:04:02 +01:00
parent b8413cdd3d
commit 43820b67bf

View File

@ -959,7 +959,7 @@ setoptval (const char *com, const char *val, const char *optname)
/* Prepend "--" to OPTNAME. */
char dd_optname[2 + MAX_LONGOPTION + 1];
if ((unsigned) snprintf(dd_optname sizeof (dd_optname), "--%s", optname) > sizeof (dd_optname))
if ((unsigned) snprintf(dd_optname, sizeof (dd_optname), "--%s", optname) > sizeof (dd_optname))
exit (WGET_EXIT_PARSE_ERROR);
assert (val != NULL);