diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-09-10 10:03:31 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-09-10 10:03:31 +0400 |
commit | 7829b8d067225e6ab90ba289b2c9375349204acd (patch) | |
tree | 7a6a2a147b87e867d7c59d6f7690c6e227073df4 /networking/tftp.c | |
parent | 2a1eb31f18f5a185d43760bf504249a66a26fe4d (diff) |
Fix for handling of "tftp -l -" from Jean Wolter <jw5@os.inf.tu-dresden.de>
Diffstat (limited to 'networking/tftp.c')
-rw-r--r-- | networking/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index ec30725d2..1ca3e418f 100644 --- a/networking/tftp.c +++ b/networking/tftp.c @@ -549,7 +549,7 @@ int tftp_main(int argc, char **argv) show_usage(); } if(localfile && strcmp(localfile, "-") == 0) { - fd = fileno((cmd==tftp_cmd_get)? stdin : stdout); + fd = fileno((cmd==tftp_cmd_get)? stdout : stdin); } if(localfile == NULL) localfile = remotefile; |