changeset 986:46c675a28e40

Send \n after last control data
author Sebastien Decugis <sdecugis@freediameter.net>
date Sun, 17 Mar 2013 14:36:26 +0100
parents 74a5e2b8ae19
children 371f899276ed
files libfdproto/log.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libfdproto/log.c	Sun Mar 17 13:45:00 2013 +0100
+++ b/libfdproto/log.c	Sun Mar 17 14:36:26 2013 +0100
@@ -117,9 +117,9 @@
 	    default:            fprintf(fstr, local_use_color ? "\e[0;31m" : " ???   ");
     }
     vfprintf(fstr, format, ap);
-    fprintf(fstr, "\n");
     if (local_use_color)
 	     fprintf(fstr, "\e[00m");
+    fprintf(fstr, "\n");
     
     fflush(fstr);
 }
"Welcome to our mercurial repository"