summaryrefslogtreecommitdiffstats
path: root/src/libutil
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/libutil
parent5217952d30e73c463f9f83c8c891c4c9bdc5881d (diff)
downloadrspamd-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.c6
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,