[Pkg-voip-commits] [bctoolbox] 52/60: respect C90

Bernhard Schmidt berni at moszumanska.debian.org
Sun Oct 15 22:42:28 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 708c8211869429d6186960c14083ba276351d006
Author: Benjamin Reis <benjamin.reis at belledonne-communications.com>
Date:   Wed Jul 5 09:23:44 2017 +0200

    respect C90
---
 src/logging/logging.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/logging/logging.c b/src/logging/logging.c
index cd18017..7252840 100644
--- a/src/logging/logging.c
+++ b/src/logging/logging.c
@@ -611,8 +611,9 @@ void bctbx_logv_file(void* user_info, const char *domain, BctbxLogLevel lev, con
 	time_t tt;
 	int ret = -1;
 	bctbx_file_log_handler_t *filehandler = (bctbx_file_log_handler_t *) user_info;
+	FILE *f;
 	bctbx_mutex_lock(&__bctbx_logger.log_mutex);
-	FILE *f = filehandler->file;
+	f = filehandler->file;
 	bctbx_gettimeofday(&tp,NULL);
 	tt = (time_t)tp.tv_sec;
 

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