mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-09 05:23:02 +02:00
27 lines
809 B
Diff
27 lines
809 B
Diff
From f10b11ddf685392b18218f6003e2eb3b6295dfd3 Mon Sep 17 00:00:00 2001
|
|
From: Vsevolod Stakhov <vsevolod@highsecure.ru>
|
|
Date: Wed, 23 Sep 2015 13:43:59 +0100
|
|
Subject: [PATCH] Fix issue with va_list passing.
|
|
|
|
Issue: #379
|
|
Reported by: @Gottox
|
|
---
|
|
src/libutil/logger.c | 5 +++--
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/libutil/logger.c b/src/libutil/logger.c
|
|
index 65cb67c..105b593 100644
|
|
--- src/libutil/logger.c
|
|
+++ src/libutil/logger.c
|
|
@@ -923,8 +923,9 @@ rspamd_glib_log_function (const gchar *log_domain,
|
|
void
|
|
rspamd_glib_printerr_function (const gchar *message)
|
|
{
|
|
- rspamd_common_logv (NULL, G_LOG_LEVEL_CRITICAL, "glib", NULL, G_STRFUNC,
|
|
- message, NULL);
|
|
+ rspamd_common_log_function (NULL, G_LOG_LEVEL_CRITICAL, "glib",
|
|
+ NULL, G_STRFUNC,
|
|
+ "%s", message);
|
|
}
|
|
|
|
/**
|