diff options
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 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; |