X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Flogging.c;fp=src%2Flogging.c;h=26f8ddddc9cbbd638176f70f81d66766a4ab94a9;hb=fa8faff84bbbeb818adaea80d7bf9e12e0074978;hp=59d74d912b5be8b2d4d47f86403fcfcbba999ad9;hpb=fbebc5b65606119c01e9e1e3fcc7b2cc4cfd1daf;p=meshlink diff --git a/src/logging.c b/src/logging.c index 59d74d91..26f8dddd 100644 --- a/src/logging.c +++ b/src/logging.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: logging.c,v 1.4 2002/04/13 11:07:12 zarq Exp $ + $Id: logging.c,v 1.5 2002/04/13 18:01:58 zarq Exp $ */ #include "config.h" @@ -74,7 +74,10 @@ void log_del_hook(log_function_t *fn) void log_default(int level, int priority, char *fmt, va_list ap) { if(debug_lvl >= level) - vfprintf(stderr, fmt, ap); + { + vfprintf(stderr, fmt, ap); + fprintf(stderr, "\n"); + } } void log_syslog(int level, int priority, char *fmt, va_list ap)