Remove some unnecessary parentheses.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 26 Jul 2013 00:03:13 +0000 (00:03 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 26 Jul 2013 00:03:13 +0000 (00:03 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395477 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_bridgewait.c

index e264236..070fe84 100644 (file)
@@ -146,7 +146,8 @@ static int apply_option_timeout(struct ast_bridge_features *features, char *dura
                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;