summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mailsplit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mailsplit.c b/mailsplit.c
index c529e2d060..70a569c12a 100644
--- a/mailsplit.c
+++ b/mailsplit.c
@@ -162,7 +162,7 @@ int main(int argc, const char **argv)
while (*argp) {
const char *file = *argp++;
- FILE *f = !strcmp(file, "-") ? stdin : fopen(file, "rt");
+ FILE *f = !strcmp(file, "-") ? stdin : fopen(file, "r");
int file_done = 0;
if ( !f )