From 1c0852b1b5dbd0a5464dfbd706591938ca74c7d7 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 8 Jul 2015 14:44:22 +0100 Subject: Do not use __FUNCTION__ as it's unportable. --- src/libserver/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libserver/buffer.c') diff --git a/src/libserver/buffer.c b/src/libserver/buffer.c index 1cb09df46..2e41dd94c 100644 --- a/src/libserver/buffer.c +++ b/src/libserver/buffer.c @@ -33,7 +33,7 @@ #define G_DISPATCHER_ERROR dispatcher_error_quark () #define debug_ip(...) rspamd_conditional_debug (rspamd_main->logger, \ NULL, \ - __FUNCTION__, \ + G_STRFUNC, \ __VA_ARGS__) static void dispatcher_cb (gint fd, short what, void *arg); -- cgit v1.2.3