diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-08 14:44:22 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-08 14:44:22 +0100 |
commit | 1c0852b1b5dbd0a5464dfbd706591938ca74c7d7 (patch) | |
tree | 0bdc67c1a6fbe8dcb796e278c2f52848363a43f6 /src/libutil | |
parent | 5217952d30e73c463f9f83c8c891c4c9bdc5881d (diff) | |
download | rspamd-1c0852b1b5dbd0a5464dfbd706591938ca74c7d7.tar.gz rspamd-1c0852b1b5dbd0a5464dfbd706591938ca74c7d7.zip |
Do not use __FUNCTION__ as it's unportable.
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/logger.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libutil/logger.c b/src/libutil/logger.c index cdbbc0154..5c2670856 100644 --- a/src/libutil/logger.c +++ b/src/libutil/logger.c @@ -226,7 +226,7 @@ rspamd_log_close_priv (rspamd_logger_t *rspamd_log, uid_t uid, gid_t gid) } /* It is safe to use temporary buffer here as it is not static */ file_log_function (NULL, - __FUNCTION__, + G_STRFUNC, rspamd_log->cfg->log_level, tmpbuf, TRUE, @@ -628,7 +628,7 @@ file_log_function (const gchar * log_domain, arg); } file_log_function (log_domain, - __FUNCTION__, + G_STRFUNC, log_level, tmpbuf, forced, @@ -665,7 +665,7 @@ file_log_function (const gchar * log_domain, rspamd_log->saved_function = NULL; } file_log_function (log_domain, - __FUNCTION__, + G_STRFUNC, log_level, tmpbuf, forced, |