aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-08 14:44:22 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-08 14:44:22 +0100
commit1c0852b1b5dbd0a5464dfbd706591938ca74c7d7 (patch)
tree0bdc67c1a6fbe8dcb796e278c2f52848363a43f6 /src/lua
parent5217952d30e73c463f9f83c8c891c4c9bdc5881d (diff)
downloadrspamd-1c0852b1b5dbd0a5464dfbd706591938ca74c7d7.tar.gz
rspamd-1c0852b1b5dbd0a5464dfbd706591938ca74c7d7.zip
Do not use __FUNCTION__ as it's unportable.
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_logger.c4
1 files changed, 2 insertions, 2 deletions
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);
}