From 1c0852b1b5dbd0a5464dfbd706591938ca74c7d7 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 8 Jul 2015 14:44:22 +0100 Subject: Do not use __FUNCTION__ as it's unportable. --- src/lua/lua_logger.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lua') diff --git a/src/lua/lua_logger.c b/src/lua/lua_logger.c index 7108c94a3..dd5d90cc8 100644 --- a/src/lua/lua_logger.c +++ b/src/lua/lua_logger.c @@ -174,14 +174,14 @@ lua_common_log_line (GLogLevelFlags level, lua_State *L, const gchar *msg) if (level == G_LOG_LEVEL_DEBUG) { rspamd_conditional_debug (rspamd_main->logger, NULL, - __FUNCTION__, + G_STRFUNC, "%s", msg); } else { rspamd_common_log_function (rspamd_main->logger, level, - __FUNCTION__, + G_STRFUNC, "%s", msg); } -- cgit v1.2.3