From bdfa578990425182c097b2cd6a9b14240edb8467 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo <rizzo@icir.org> Date: Sun, 16 Apr 2006 18:10:10 +0000 Subject: [PATCH] minor formatting fixes git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20596 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/channel.c b/channel.c index 110e101df0..743cbc53ca 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 -- GitLab