From cce3c88807233e1aa7b57abdece99210a6cc92a0 Mon Sep 17 00:00:00 2001 From: e9hack Date: Sat, 30 Nov 2024 09:37:56 +0100 Subject: [PATCH] Simplify function readline() - Removed forgotten bracket --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.c b/io.c index b4b9478..3bb4366 100644 --- a/io.c +++ b/io.c @@ -58,7 +58,7 @@ int readline(PTSTREAM *pts) { if ( args_info.verbose_flag ) /* print an additional newline if the string doesn't end with a newline */ message( c == '\n' ? " <- %s" : " <- %s\n", buf); - } + return len; }