fixed indentation of debug output

This commit is contained in:
Andreas Steffen
2009-04-21 13:05:19 +00:00
parent 558c89e721
commit 59a4e87db6
+2 -1
View File
@@ -115,6 +115,7 @@ static void pluto_dbg(int level, char *fmt, ...)
if (log_to_stderr)
{
fprintf(stderr, "| ");
vfprintf(stderr, fmt, args);
fprintf(stderr, "\n");
}
@@ -131,7 +132,7 @@ static void pluto_dbg(int level, char *fmt, ...)
{
*(next++) = '\0';
}
syslog(priority, "|%s\n", current);
syslog(priority, "| %s\n", current);
current = next;
}
}