projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a1eb31
)
Fix for handling of "tftp -l -" from Jean Wolter <jw5@os.inf.tu-dresden.de>
author
Eric Andersen
<andersen@codepoet.org>
Tue, 10 Sep 2002 06:03:31 +0000
(06:03 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Tue, 10 Sep 2002 06:03:31 +0000
(06:03 -0000)
networking/tftp.c
patch
|
blob
|
history
diff --git
a/networking/tftp.c
b/networking/tftp.c
index
ec30725
..
1ca3e41
100644
(file)
--- 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)? std
in : stdout
);
+ fd = fileno((cmd==tftp_cmd_get)? std
out : stdin
);
}
if(localfile == NULL)
localfile = remotefile;