diff options
-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) | |||
549 | show_usage(); | 549 | show_usage(); |
550 | } | 550 | } |
551 | if(localfile && strcmp(localfile, "-") == 0) { | 551 | if(localfile && strcmp(localfile, "-") == 0) { |
552 | fd = fileno((cmd==tftp_cmd_get)? stdin : stdout); | 552 | fd = fileno((cmd==tftp_cmd_get)? stdout : stdin); |
553 | } | 553 | } |
554 | if(localfile == NULL) | 554 | if(localfile == NULL) |
555 | localfile = remotefile; | 555 | localfile = remotefile; |