tftpd: fix double-colon typo in option string

MFC after:	1 month
X-MFC-With:	273a307d0b
X-MFC-With:	03c2616dc5
This commit is contained in:
Dmitry Morozovsky 2023-07-21 00:24:28 +03:00
parent 03c2616dc5
commit 3cbc8e752b

View File

@ -142,7 +142,7 @@ main(int argc, char *argv[])
acting_as_client = 0;
tftp_openlog("tftpd", LOG_PID | LOG_NDELAY, LOG_FTP);
while ((ch = getopt(argc, argv, "cCd::F:lnoOp:s:Su:U:wW")) != -1) {
while ((ch = getopt(argc, argv, "cCd:F:lnoOp:s:Su:U:wW")) != -1) {
switch (ch) {
case 'c':
ipchroot = 1;