diff options
author | Eric Andersen | 2002-09-10 06:03:31 +0000 |
---|---|---|
committer | Eric Andersen | 2002-09-10 06:03:31 +0000 |
commit | 7829b8d067225e6ab90ba289b2c9375349204acd (patch) | |
tree | 7a6a2a147b87e867d7c59d6f7690c6e227073df4 /networking | |
parent | 2a1eb31f18f5a185d43760bf504249a66a26fe4d (diff) | |
download | busybox-7829b8d067225e6ab90ba289b2c9375349204acd.zip busybox-7829b8d067225e6ab90ba289b2c9375349204acd.tar.gz |
Fix for handling of "tftp -l -" from Jean Wolter <jw5@os.inf.tu-dresden.de>
Diffstat (limited to 'networking')
-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 ec30725..1ca3e41 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; |