diff options
author | Paul Belanger <paul.belanger@polybeacon.com> | 2011-02-04 16:55:39 +0000 |
---|---|---|
committer | Paul Belanger <paul.belanger@polybeacon.com> | 2011-02-04 16:55:39 +0000 |
commit | 3556e4c2d46e8f8d8480c08f9aae049a53f3a493 (patch) | |
tree | a3d1da6c10bc2730a0a579368a28f804a074c035 /main/taskprocessor.c | |
parent | 9f65acf33e3cab60a9a4e635fe00e6abf2ddc561 (diff) |
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
Diffstat (limited to 'main/taskprocessor.c')
-rw-r--r-- | main/taskprocessor.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |