mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
Remove some unnecessary parentheses.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user