From 8565ae234b8dd3f68d0a0cf34eebb17d7a3dbe88 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 25 Jun 2009 16:23:35 +0000 Subject: [PATCH] Fix rejects. --- log.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/log.c b/log.c index bf8bedc7..7dafce8f 100644 --- a/log.c +++ b/log.c @@ -1,4 +1,4 @@ -/* $Id: log.c,v 1.14 2009-06-25 16:21:32 nicm Exp $ */ +/* $Id: log.c,v 1.15 2009-06-25 16:23:35 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -81,17 +81,6 @@ log_close(void) log_type = LOG_TYPE_OFF; } -/* Write a log message. */ -void -log_write(int pri, const char *msg, ...) -{ - va_list ap; - - va_start(ap, msg); - log_vwrite(pri, msg, ap); - va_end(ap); -} - /* Write a log message. */ void log_vwrite(int pri, const char *msg, va_list ap) @@ -100,11 +89,6 @@ log_vwrite(int pri, const char *msg, va_list ap) FILE *f = log_file; switch (log_type) { - case LOG_TYPE_SYSLOG: -#ifdef HAVE_VSYSLOG - vsyslog(pri, msg, ap); -#endif - break; case LOG_TYPE_TTY: if (pri == LOG_INFO) f = stdout;