[svn-commits] oej: trunk r332024 - /trunk/channels/chan_local.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Aug 16 09:47:42 CDT 2011


Author: oej
Date: Tue Aug 16 09:47:38 2011
New Revision: 332024

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=332024
Log:
Formatting changes while working with DTMF...

Modified:
    trunk/channels/chan_local.c

Modified: trunk/channels/chan_local.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_local.c?view=diff&rev=332024&r1=332023&r2=332024
==============================================================================
--- trunk/channels/chan_local.c (original)
+++ trunk/channels/chan_local.c Tue Aug 16 09:47:38 2011
@@ -719,8 +719,9 @@
 	struct ast_frame f = { AST_FRAME_DTMF_BEGIN, };
 	int isoutbound;
 
-	if (!p)
-		return -1;
+	if (!p) {
+		return -1;
+	}
 
 	ao2_ref(p, 1); /* ref for local_queue_frame */
 	ao2_lock(p);
@@ -740,8 +741,9 @@
 	struct ast_frame f = { AST_FRAME_DTMF_END, };
 	int isoutbound;
 
-	if (!p)
-		return -1;
+	if (!p) {
+		return -1;
+	}
 
 	ao2_ref(p, 1); /* ref for local_queue_frame */
 	ao2_lock(p);
@@ -762,8 +764,9 @@
 	struct ast_frame f = { AST_FRAME_TEXT, };
 	int isoutbound;
 
-	if (!p)
-		return -1;
+	if (!p) {
+		return -1;
+	}
 
 	ao2_lock(p);
 	ao2_ref(p, 1); /* ref for local_queue_frame */
@@ -783,8 +786,9 @@
 	struct ast_frame f = { AST_FRAME_HTML, };
 	int isoutbound;
 
-	if (!p)
-		return -1;
+	if (!p) {
+		return -1;
+	}
 
 	ao2_lock(p);
 	ao2_ref(p, 1); /* ref for local_queue_frame */




More information about the svn-commits mailing list