mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user