From 8167b221810b0aaebbb64a6cd43a8e5f4a038cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Sat, 6 Apr 2024 15:23:39 +0900 Subject: [PATCH] backport: commandline support on stdin/stdout --- base16384.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base16384.c b/base16384.c index 6819f1a..e63a610 100644 --- a/base16384.c +++ b/base16384.c @@ -106,7 +106,7 @@ int main(int argc, char **argv){ if(is_standard_io(OUTPUT)) { fpo = stdout; } else { - fpo = fopen(OUTPUT, "wb"); + fpo = fopen(OUTPUT, "wb"); if(!fpo){ perror("fopen"); exit(EXIT_FAILURE);