diff options
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 5ede3fac0..a7c516be8 100644 --- a/src/main.c +++ b/src/main.c @@ -1225,7 +1225,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */ if(strequal("-", nextarg)) file = stdin; else - file = fopen(nextarg, "r"); + file = fopen(nextarg, "rb"); if(subletter == 'b') /* forced binary */ postdata = file2memory(file, &config->postfieldsize); |