aboutsummaryrefslogtreecommitdiffstats
path: root/src/smtp_proxy.c
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/smtp_proxy.c
parent5217952d30e73c463f9f83c8c891c4c9bdc5881d (diff)
downloadrspamd-1c0852b1b5dbd0a5464dfbd706591938ca74c7d7.tar.gz
rspamd-1c0852b1b5dbd0a5464dfbd706591938ca74c7d7.zip
Do not use __FUNCTION__ as it's unportable.
Diffstat (limited to 'src/smtp_proxy.c')
-rw-r--r--src/smtp_proxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smtp_proxy.c b/src/smtp_proxy.c
index 281c93b6b..bb53a7e7d 100644
--- a/src/smtp_proxy.c
+++ b/src/smtp_proxy.c
@@ -657,7 +657,7 @@ smtp_dns_cb (struct rdns_reply *reply, void *arg)
/* Parse reverse reply and start resolve of this ip */
if (reply->code != RDNS_RC_NOERROR) {
rspamd_conditional_debug (rspamd_main->logger,
- NULL, __FUNCTION__, "DNS error: %s",
+ NULL, G_STRFUNC, "DNS error: %s",
rdns_strerror (reply->code));
if (reply->code == RDNS_RC_NXDOMAIN) {
@@ -686,7 +686,7 @@ smtp_dns_cb (struct rdns_reply *reply, void *arg)
case SMTP_PROXY_STATE_RESOLVE_NORMAL:
if (reply->code != RDNS_RC_NOERROR) {
rspamd_conditional_debug (rspamd_main->logger,
- NULL, __FUNCTION__, "DNS error: %s",
+ NULL, G_STRFUNC, "DNS error: %s",
rdns_strerror (reply->code));
if (reply->code == RDNS_RC_NXDOMAIN) {