[Asterisk-code-review] logger: Fix scope trace defines (asterisk[16])

George Joseph asteriskteam at digium.com
Mon Jun 29 07:54:56 CDT 2020


George Joseph has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/14578 )


Change subject: logger: Fix scope trace defines
......................................................................

logger: Fix scope trace defines

The non-devmode scope trace defines didn't match the devmode
ones causing compile issues when devmode was turned off.

Change-Id: Ibd1a2446fdbd45567e8f960c0ec2e186eb26913f
---
M include/asterisk/logger.h
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/78/14578/1

diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h
index 4392e5a..972be63 100644
--- a/include/asterisk/logger.h
+++ b/include/asterisk/logger.h
@@ -717,8 +717,8 @@
 
 #else
 #define ast_trace_raw(__level, __indent_type, __fmt, ...)
-#define ast_trace(__level)
-#define SCOPE_TRACE(__level)
+#define ast_trace(__level, ...)
+#define SCOPE_TRACE(__level, ...)
 #endif
 
 #if defined(__cplusplus) || defined(c_plusplus)

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/14578
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: Ibd1a2446fdbd45567e8f960c0ec2e186eb26913f
Gerrit-Change-Number: 14578
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200629/8fb53f31/attachment.html>


More information about the asterisk-code-review mailing list