From 50beaaf2ea5d7154a395df94b59599903f5bb288 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 3 Nov 2008 20:46:43 +0000 Subject: [PATCH] (OPENZAP-33) format not a string literal and no format arguments git-svn-id: http://svn.openzap.org/svn/openzap/trunk@606 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/openzap/mod_openzap/mod_openzap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/openzap/mod_openzap/mod_openzap.c b/libs/openzap/mod_openzap/mod_openzap.c index 0eeb9d2115..89678af149 100644 --- a/libs/openzap/mod_openzap/mod_openzap.c +++ b/libs/openzap/mod_openzap/mod_openzap.c @@ -1518,7 +1518,7 @@ static void zap_logger(const char *file, const char *func, int line, int level, va_start(ap, fmt); if (switch_vasprintf(&data, fmt, ap) != -1) { - switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, (char *)func, line, NULL, level, data); + switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, (char *)func, line, NULL, level, "%s", data); free(data); }