diff options
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | 26 | ||
27 | RCSID("$OpenBSD: sftp.c,v 1.11 2001/03/07 10:11:23 djm Exp $"); | 27 | RCSID("$OpenBSD: sftp.c,v 1.12 2001/04/05 10:42:54 markus Exp $"); |
28 | 28 | ||
29 | /* XXX: commandline mode */ | 29 | /* XXX: commandline mode */ |
30 | /* XXX: copy between two remote hosts (commandline) */ | 30 | /* XXX: copy between two remote hosts (commandline) */ |
@@ -191,9 +191,9 @@ main(int argc, char **argv) | |||
191 | case 'b': | 191 | case 'b': |
192 | if (infile == stdin) { | 192 | if (infile == stdin) { |
193 | infile = fopen(optarg, "r"); | 193 | infile = fopen(optarg, "r"); |
194 | if (infile == NULL) | 194 | if (infile == NULL) |
195 | fatal("%s (%s).", strerror(errno), optarg); | 195 | fatal("%s (%s).", strerror(errno), optarg); |
196 | } else | 196 | } else |
197 | fatal("Filename already specified."); | 197 | fatal("Filename already specified."); |
198 | break; | 198 | break; |
199 | case 'h': | 199 | case 'h': |