From 3556e4c2d46e8f8d8480c08f9aae049a53f3a493 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Fri, 4 Feb 2011 16:55:39 +0000 Subject: Replace ast_log(LOG_DEBUG, ...) with ast_debug() (closes issue #18556) Reported by: kkm Review: https://reviewboard.asterisk.org/r/1071/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@306258 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/taskprocessor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main/taskprocessor.c') diff --git a/main/taskprocessor.c b/main/taskprocessor.c index e09944bf6..e0d7e5b94 100644 --- a/main/taskprocessor.c +++ b/main/taskprocessor.c @@ -346,13 +346,13 @@ static int tps_cmp_cb(void *obj, void *arg, int flags) static void tps_taskprocessor_destroy(void *tps) { struct ast_taskprocessor *t = tps; - + if (!tps) { ast_log(LOG_ERROR, "missing taskprocessor\n"); return; } - ast_log(LOG_DEBUG, "destroying taskprocessor '%s'\n", t->name); - /* kill it */ + ast_debug(1, "destroying taskprocessor '%s'\n", t->name); + /* kill it */ ast_mutex_lock(&t->taskprocessor_lock); t->poll_thread_run = 0; ast_cond_signal(&t->poll_cond); -- cgit v1.2.3