mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-20 12:20:12 +00:00
Whitespace cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@286342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -914,8 +914,9 @@ static int __ast_play_and_record(struct ast_channel *chan, const char *playfile,
|
|||||||
totalsilence += dspsilence;
|
totalsilence += dspsilence;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (totalsilence > 0)
|
if (totalsilence > 0) {
|
||||||
*duration -= (totalsilence - 200) / 1000;
|
*duration -= (totalsilence - 200) / 1000;
|
||||||
|
}
|
||||||
if (*duration < 0) {
|
if (*duration < 0) {
|
||||||
*duration = 0;
|
*duration = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user