[Pkg-voip-commits] [bctoolbox] 50/57: Fix compilation error with clang
daniel at gnoutcheff.name
daniel at gnoutcheff.name
Thu Mar 30 04:31:35 UTC 2017
This is an automated email from the git hooks/post-receive script.
gnoutchd-guest pushed a commit to branch debian/sid
in repository bctoolbox.
commit 4c679a7fd653e81e084b803ad627a2dfd5d3eb51
Author: François Grisez <francois.grisez at belledonne-communications.com>
Date: Mon Feb 6 14:04:44 2017 +0100
Fix compilation error with clang
---
include/bctoolbox/logging.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/bctoolbox/logging.h b/include/bctoolbox/logging.h
index de2b70b..e015262 100644
--- a/include/bctoolbox/logging.h
+++ b/include/bctoolbox/logging.h
@@ -232,7 +232,7 @@ template <typename _Tp> inline pumpstream &operator<<(pumpstream &&__os, const _
#define BCTBX_SLOG(domain, thelevel) \
\
if (bctbx_log_level_enabled((domain), (thelevel))) \
- pumpstream((domain?domain:""),(thelevel))
+ pumpstream((domain != NULL ? domain : ""), (thelevel))
#define BCTBX_SLOGD(DOMAIN) BCTBX_SLOG(DOMAIN, BCTBX_LOG_DEBUG)
#define BCTBX_SLOGI(DOMAIN) BCTBX_SLOG((DOMAIN), (BCTBX_LOG_MESSAGE))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/bctoolbox.git
More information about the Pkg-voip-commits
mailing list