aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/librdns
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-15 15:54:43 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-15 15:54:43 +0000
commit27e45bef83fe17b339fe345e3455a67b7416e1d3 (patch)
treea916601653c8eaca9488d7dd55b4de565078047d /contrib/librdns
parent46fd25c4dda2e4cc25f662dc5cb5dad0d4380503 (diff)
downloadrspamd-27e45bef83fe17b339fe345e3455a67b7416e1d3.tar.gz
rspamd-27e45bef83fe17b339fe345e3455a67b7416e1d3.zip
Fix warnings.
Diffstat (limited to 'contrib/librdns')
-rw-r--r--contrib/librdns/logger.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/librdns/logger.h b/contrib/librdns/logger.h
index 91108f4e3..f9c33bbe4 100644
--- a/contrib/librdns/logger.h
+++ b/contrib/librdns/logger.h
@@ -34,9 +34,9 @@ void rdns_logger_helper (struct rdns_resolver *resolver,
enum rdns_log_level level,
const char *function, const char *format, ...);
-#define rdns_err(...) do { rdns_logger_helper (resolver, RDNS_LOG_ERROR, __FUNCTION__, __VA_ARGS__); } while (0)
-#define rdns_warn(...) do { rdns_logger_helper (resolver, RDNS_LOG_WARNING, __FUNCTION__, __VA_ARGS__); } while (0)
-#define rdns_info(...) do { rdns_logger_helper (resolver, RDNS_LOG_INFO, __FUNCTION__, __VA_ARGS__); } while (0)
-#define rdns_debug(...) do { rdns_logger_helper (resolver, RDNS_LOG_DEBUG, __FUNCTION__, __VA_ARGS__); } while (0)
+#define rdns_err(...) do { rdns_logger_helper (resolver, RDNS_LOG_ERROR, __func__, __VA_ARGS__); } while (0)
+#define rdns_warn(...) do { rdns_logger_helper (resolver, RDNS_LOG_WARNING, __func__, __VA_ARGS__); } while (0)
+#define rdns_info(...) do { rdns_logger_helper (resolver, RDNS_LOG_INFO, __func__, __VA_ARGS__); } while (0)
+#define rdns_debug(...) do { rdns_logger_helper (resolver, RDNS_LOG_DEBUG, __func__, __VA_ARGS__); } while (0)
#endif /* LOGGER_H_ */