fixed indentation of debug output
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 21 Apr 2009 13:05:19 +0000 (13:05 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 21 Apr 2009 13:05:19 +0000 (13:05 -0000)
src/pluto/log.c

index 4cb7f49..293c99d 100644 (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;
                        }
                }