aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-16 18:10:10 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-16 18:10:10 +0000
commit17adf2ca4e2c2bcd2404f1c64faafbb34657175e (patch)
tree6d255cde970fcc6ae3ed1a372d05c73359d7be8c /channel.c
parent6b5fac3ca5bae016c10e236bd2bc1ca9098a0861 (diff)
minor formatting fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20596 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rw-r--r--channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channel.c b/channel.c
index 110e101df..743cbc53c 100644
--- a/channel.c
+++ b/channel.c
@@ -1297,7 +1297,6 @@ static void queue_frame_to_spies(struct ast_channel *chan, struct ast_frame *f,
}
}
f1 = translated_frame;
-
} else {
if (f->subclass != queue->format) {
ast_log(LOG_WARNING, "Spy '%s' on channel '%s' wants format '%s', but frame is '%s', dropping\n",
@@ -1311,7 +1310,8 @@ static void queue_frame_to_spies(struct ast_channel *chan, struct ast_frame *f,
/* duplicate and append f1 to the tail */
f1 = ast_frdup(f1);
- for (last = queue->head; last && last->next; last = last->next);
+ for (last = queue->head; last && last->next; last = last->next)
+ ;
if (last)
last->next = f1;
else