]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Use __func__ in c++ mode as defined by standard
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 18 Oct 2022 22:10:17 +0000 (23:10 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 18 Oct 2022 22:10:17 +0000 (23:10 +0100)
src/libserver/logger.h

index 35792e68eb5bcf6d6e1b32294b33c1587592a131..164e0b97e2437ecb349a134861aff6acdf36865a 100644 (file)
@@ -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