aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-10-18 23:10:17 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-10-18 23:10:17 +0100
commitd16543a3b4c70ee29da64172e04df7498c5421a6 (patch)
tree17cd9770985a485787a510e8ebc0c74c3ec93281 /src
parent5335bce593200298976fcd4992dcb14f86f291ed (diff)
downloadrspamd-d16543a3b4c70ee29da64172e04df7498c5421a6.tar.gz
rspamd-d16543a3b4c70ee29da64172e04df7498c5421a6.zip
[Minor] Use __func__ in c++ mode as defined by standard
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