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:
@@ -142,7 +142,7 @@ main(int argc, char *argv[])
|
|||||||
acting_as_client = 0;
|
acting_as_client = 0;
|
||||||
|
|
||||||
tftp_openlog("tftpd", LOG_PID | LOG_NDELAY, LOG_FTP);
|
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) {
|
switch (ch) {
|
||||||
case 'c':
|
case 'c':
|
||||||
ipchroot = 1;
|
ipchroot = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user