changeset 980:0f376cab3dcb

Remove newline workaround so any remaining extra newlines are easily visible.
author Thomas Klausner <tk@giga.or.at>
date Thu, 14 Mar 2013 18:46:05 +0100
parents b90cb4c07160
children ee8ea5303489
files libfdproto/log.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libfdproto/log.c	Thu Mar 14 18:45:03 2013 +0100
+++ b/libfdproto/log.c	Thu Mar 14 18:46:05 2013 +0100
@@ -117,9 +117,7 @@
 	    default:            fprintf(fstr, local_use_color ? "\e[0;31m" : " ???   ");
     }
     vfprintf(fstr, format, ap);
-    if (format && (format[strlen(format)-1] != '\n')) {
-        fprintf(fstr, "\n");
-    }
+    fprintf(fstr, "\n");
     if (local_use_color)
 	     fprintf(fstr, "\e[00m");
     
"Welcome to our mercurial repository"