diff options
Diffstat (limited to 'accel-pptpd/log.c')
-rw-r--r-- | accel-pptpd/log.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/accel-pptpd/log.c b/accel-pptpd/log.c index f87f115d..d92ab125 100644 --- a/accel-pptpd/log.c +++ b/accel-pptpd/log.c @@ -135,6 +135,14 @@ void __export log_debug(const char *fmt,...) } } +void __export log_debug2(const char *fmt,...) +{ + va_list ap; + va_start(ap, fmt); + vfprintf(debug_file, fmt, ap); + va_end(ap); + fflush(debug_file); +} void __export log_msg(const char *fmt,...) { va_list ap; |