[asterisk-commits] trunk r20596 - /trunk/channel.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Apr 16 11:10:12 MST 2006


Author: rizzo
Date: Sun Apr 16 13:10:10 2006
New Revision: 20596

URL: http://svn.digium.com/view/asterisk?rev=20596&view=rev
Log:
minor formatting fixes


Modified:
    trunk/channel.c

Modified: trunk/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/channel.c?rev=20596&r1=20595&r2=20596&view=diff
==============================================================================
--- trunk/channel.c (original)
+++ trunk/channel.c Sun Apr 16 13:10:10 2006
@@ -1297,7 +1297,6 @@
 				}
 			}
 			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 @@
 		/* 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



More information about the asterisk-commits mailing list