- djm@cvs.openbsd.org 2010/01/27 19:21:39

[sftp.c]
     add missing "p" flag to getopt optstring;
     bz#1704 from imorgan AT nas.nasa.gov
This commit is contained in:
Damien Miller 2010-01-28 06:27:54 +11:00
parent a21cdfac2f
commit a1162985a5
2 changed files with 6 additions and 2 deletions

View File

@ -16,6 +16,10 @@
has been prematurely deleted. has been prematurely deleted.
spotted by imorgan AT nas.nasa.gov spotted by imorgan AT nas.nasa.gov
- djm@cvs.openbsd.org 2010/01/27 19:21:39
[sftp.c]
add missing "p" flag to getopt optstring;
bz#1704 from imorgan AT nas.nasa.gov
20100126 20100126
- (djm) OpenBSD CVS Sync - (djm) OpenBSD CVS Sync

4
sftp.c
View File

@ -1,4 +1,4 @@
/* $OpenBSD: sftp.c,v 1.122 2010/01/15 00:05:22 guenther Exp $ */ /* $OpenBSD: sftp.c,v 1.123 2010/01/27 19:21:39 djm Exp $ */
/* /*
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
* *
@ -2095,7 +2095,7 @@ main(int argc, char **argv)
infile = stdin; infile = stdin;
while ((ch = getopt(argc, argv, while ((ch = getopt(argc, argv,
"1246hqrvCc:D:i:o:s:S:b:B:F:P:R:")) != -1) { "1246hpqrvCc:D:i:o:s:S:b:B:F:P:R:")) != -1) {
switch (ch) { switch (ch) {
/* Passed through to ssh(1) */ /* Passed through to ssh(1) */
case '4': case '4':