|
@ -1,4 +1,4 @@ |
|
|
/* $OpenBSD: log.c,v 1.3 2004/06/17 19:15:27 henning Exp $ */ |
|
|
|
|
|
|
|
|
/* $OpenBSD: log.c,v 1.4 2004/07/08 01:19:27 henning Exp $ */ |
|
|
|
|
|
|
|
|
/* |
|
|
/* |
|
|
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> |
|
|
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> |
|
@ -129,9 +129,11 @@ log_debug(const char *emsg, ...) |
|
|
{ |
|
|
{ |
|
|
va_list ap; |
|
|
va_list ap; |
|
|
|
|
|
|
|
|
va_start(ap, emsg); |
|
|
|
|
|
vlog(LOG_DEBUG, emsg, ap); |
|
|
|
|
|
va_end(ap); |
|
|
|
|
|
|
|
|
if (debug) { |
|
|
|
|
|
va_start(ap, emsg); |
|
|
|
|
|
vlog(LOG_DEBUG, emsg, ap); |
|
|
|
|
|
va_end(ap); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
void |
|
|
void |
|
|