[Pkg-voip-commits] [bctoolbox] 12/60: Fix C90 build

Bernhard Schmidt berni at moszumanska.debian.org
Sun Oct 15 22:42:23 UTC 2017


This is an automated email from the git hooks/post-receive script.

berni pushed a commit to branch debian/sid
in repository bctoolbox.

commit 557b17f19b94013ca46e35d0159f5eece20b83b2
Author: Benjamin Reis <benjamin.reis at belledonne-communications.com>
Date:   Fri Mar 31 11:27:11 2017 +0200

    Fix C90 build
---
 src/logging/logging.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/logging/logging.c b/src/logging/logging.c
index c8a12d9..6de30e8 100644
--- a/src/logging/logging.c
+++ b/src/logging/logging.c
@@ -374,9 +374,9 @@ void bctbx_logv(const char *domain, BctbxLogLevel level, const char *fmt, va_lis
 		if (__bctbx_logger.log_thread_id == 0) {
 			bctbx_list_t *loggers = bctbx_list_first_elem(__bctbx_logger.logv_outs);
 			while (loggers) {
+				BctoolboxLogHandler* handler = (BctoolboxLogHandler*)loggers->data;
 				va_list tmp;
 				va_copy(tmp, args);
-				BctoolboxLogHandler* handler = (BctoolboxLogHandler*)loggers->data;
 				handler->func(handler->user_info, domain, level, fmt, tmp);
 				va_end(tmp);
 				loggers = loggers->next;

-- 
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