aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libserver/logger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/logger.h b/src/libserver/logger.h
index 35792e68e..164e0b97e 100644
--- a/src/libserver/logger.h
+++ b/src/libserver/logger.h
@@ -252,7 +252,7 @@ struct rspamd_logger_funcs* rspamd_logger_set_log_function (rspamd_logger_t *log
extern guint rspamd_task_log_id;
#ifdef __cplusplus
-#define RSPAMD_LOG_FUNC __FUNCTION__
+#define RSPAMD_LOG_FUNC __func__
#else
#define RSPAMD_LOG_FUNC G_STRFUNC
#endif