]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
Add missing line break
authorFrederic Marchal <fmarchal@users.sourceforge.net>
Mon, 5 Jan 2015 12:46:53 +0000 (13:46 +0100)
committerFrederic Marchal <fmarchal@users.sourceforge.net>
Mon, 5 Jan 2015 12:46:53 +0000 (13:46 +0100)
The line break was printed on stdout instead of stderr. The debug output
was therefore broken.

log.c

diff --git a/log.c b/log.c
index a72c52b6b884c700ec1c4a905dce4c4f34957868..c2b8d37bca780291fce4fc86875d99ffc0db897d 100644 (file)
--- a/log.c
+++ b/log.c
@@ -1654,7 +1654,7 @@ int main(int argc,char *argv[])
 
        if(debug) {
                debuga(_("Period: %s"),period.text);
-               putchar('\n');
+               debuga_more("\n");
        }
 
        if(fp_denied)