mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
Revert "tftpd: fix double-colon typo in option string"
It was not a typo: -d takes an optional argument, which is indicated with
a double colon.
This reverts commit 3cbc8e752b
.
Spotted by: kevans
This commit is contained in:
parent
3cbc8e752b
commit
615d167cb8
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue