[svn-commits] rmudgett: trunk r395477 - /trunk/apps/app_bridgewait.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jul 25 19:03:14 CDT 2013


Author: rmudgett
Date: Thu Jul 25 19:03:13 2013
New Revision: 395477

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=395477
Log:
Remove some unnecessary parentheses.

Modified:
    trunk/apps/app_bridgewait.c

Modified: trunk/apps/app_bridgewait.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_bridgewait.c?view=diff&rev=395477&r1=395476&r2=395477
==============================================================================
--- trunk/apps/app_bridgewait.c (original)
+++ trunk/apps/app_bridgewait.c Thu Jul 25 19:03:13 2013
@@ -146,7 +146,8 @@
 		return -1;
 	}
 
-	if (sscanf(duration_arg, "%u", &(hold_limits.duration)) != 1 || hold_limits.duration == 0) {
+	if (sscanf(duration_arg, "%u", &hold_limits.duration) != 1
+		|| hold_limits.duration == 0) {
 		ast_log(LOG_ERROR, "Duration value provided for the timeout ('S') option must be greater than 0\n");
 		ast_bridge_features_limits_destroy(&hold_limits);
 		return -1;




More information about the svn-commits mailing list