← Commit list

7829b8d06

Eric Andersen
Eric Andersen
2002-09-10
FAILED Duration: 5s

Subject

Fix for handling of "tftp -l -" from Jean Wolter

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/tftp.c+1 -1
@@ -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;