diff options
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include "includes.h" | 17 | #include "includes.h" |
18 | 18 | ||
19 | RCSID("$OpenBSD: sftp.c,v 1.64 2005/06/17 02:44:33 djm Exp $"); | 19 | RCSID("$OpenBSD: sftp.c,v 1.65 2005/07/17 07:17:55 djm Exp $"); |
20 | 20 | ||
21 | #ifdef USE_LIBEDIT | 21 | #ifdef USE_LIBEDIT |
22 | #include <histedit.h> | 22 | #include <histedit.h> |
@@ -1476,7 +1476,7 @@ main(int argc, char **argv) | |||
1476 | 1476 | ||
1477 | /* Allow "-" as stdin */ | 1477 | /* Allow "-" as stdin */ |
1478 | if (strcmp(optarg, "-") != 0 && | 1478 | if (strcmp(optarg, "-") != 0 && |
1479 | (infile = fopen(optarg, "r")) == NULL) | 1479 | (infile = fopen(optarg, "r")) == NULL) |
1480 | fatal("%s (%s).", strerror(errno), optarg); | 1480 | fatal("%s (%s).", strerror(errno), optarg); |
1481 | showprogress = 0; | 1481 | showprogress = 0; |
1482 | batchmode = 1; | 1482 | batchmode = 1; |