From 326926aa1675f23796594ad573d471ccbc39431e Mon Sep 17 00:00:00 2001 From: tTh Date: Sun, 7 Jul 2024 19:54:33 +0200 Subject: [PATCH] cosmetic --- code/C/slowprint.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/C/slowprint.c b/code/C/slowprint.c index 33d4f11..9900853 100644 --- a/code/C/slowprint.c +++ b/code/C/slowprint.c @@ -34,8 +34,7 @@ ts.tv_sec = sec; ts.tv_nsec = nano; while ( EOF != (c=getchar()) ) { - putchar(c); - fflush(stdout); + putchar(c), fflush(stdout); nanosleep(&ts, NULL); }