summaryrefslogtreecommitdiff
path: root/main/taskprocessor.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2012-11-19 22:34:27 +0000
committerMark Michelson <mmichelson@digium.com>2012-11-19 22:34:27 +0000
commite2196d79815abe7f7d20f9151d17f555f8d45371 (patch)
tree429953d0152b5529a31252fcc5e6d8cca7cacb9b /main/taskprocessor.c
parentf4328e109d5a5d549181c021f506477766702167 (diff)
Get rid of trailing whitespace.
git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@376500 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/taskprocessor.c')
-rw-r--r--main/taskprocessor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/taskprocessor.c b/main/taskprocessor.c
index 69bec7ca0..d83228f33 100644
--- a/main/taskprocessor.c
+++ b/main/taskprocessor.c
@@ -128,7 +128,7 @@ struct default_taskprocessor_listener_pvt {
static void default_tps_wake_up(struct default_taskprocessor_listener_pvt *pvt, int should_die)
{
- SCOPED_MUTEX(lock, &pvt->lock);
+ SCOPED_MUTEX(lock, &pvt->lock);
pvt->wake_up = 1;
pvt->dead = should_die;
ast_cond_signal(&pvt->cond);
@@ -472,7 +472,7 @@ struct ast_taskprocessor_listener *ast_taskprocessor_listener_alloc(const struct
{
RAII_VAR(struct ast_taskprocessor_listener *, listener,
ao2_alloc(sizeof(*listener), listener_destroy), ao2_cleanup);
-
+
if (!listener) {
return NULL;
}
@@ -614,7 +614,7 @@ int ast_taskprocessor_execute(struct ast_taskprocessor *tps)
{
struct tps_task *t;
int size;
-
+
if (!(t = tps_taskprocessor_pop(tps))) {
return 0;
}