diff options
Diffstat (limited to 'src/tak.c')
-rw-r--r-- | src/tak.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -68,7 +68,7 @@ int entry_tak(int argc, char **argv) { char **args = parse_options(argc, argv); if (*args == NULL) { - struct filebuf *fb = stream_to_filebuf(stdin); + struct filebuf *fb = stream_to_filebuf(stdin, 0); if (fb == NULL) goto err_stdin; process(fb); @@ -79,11 +79,11 @@ int entry_tak(int argc, char **argv) { struct filebuf *fb = NULL; if (!strcmp(*args, "-")) { - fb = stream_to_filebuf(stdin); + fb = stream_to_filebuf(stdin, 0); if (fb == NULL) goto err_stdin; } - if (fb == NULL) fb = file_to_filebuf(*args); + if (fb == NULL) fb = file_to_filebuf(*args, 0); if (fb == NULL) goto err_file; process(fb); |