From c7eb144bb151bdbef251717b05a31433dbeb52cb Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 18 Apr 2021 13:48:47 +0200 Subject: [PATCH] functions.c: logmsg(): fix length of marker lines in LOG_MARK --- src/functions.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/functions.c b/src/functions.c index 8faee2a..b319c43 100644 --- a/src/functions.c +++ b/src/functions.c @@ -463,9 +463,11 @@ void logmsg(int level, const char *msg, ...) { switch (level) { case LOG_MARK: - fprintf(stderr,"Info: ******************************\n"); - fprintf(stderr,"Info: %s\n",(char*)&newmsg); - fprintf(stderr,"Info: ******************************\n"); + fprintf(stderr,"Info: "); + for (int j=0; j