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:
parent
b8413cdd3d
commit
43820b67bf
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user