summaryrefslogtreecommitdiff
path: root/main/app.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-06-06 19:00:40 +0000
committerRussell Bryant <russell@russellbryant.com>2007-06-06 19:00:40 +0000
commit9ede56137871297d212a698145837ac2c3cd9909 (patch)
treecc0b578599ed3373f4cb64033ec93e8a77c8117a /main/app.c
parentea2068d0ada46d190691e50e57c5ff9b3350632b (diff)
Make another formatting change ... testing mantis/svn stuff
(issue #9828) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/app.c')
-rw-r--r--main/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/app.c b/main/app.c
index 3a6ae8c7a..85105225c 100644
--- a/main/app.c
+++ b/main/app.c
@@ -540,7 +540,7 @@ static int __ast_play_and_record(struct ast_channel *chan, const char *playfile,
maxsilence = global_maxsilence;
/* barf if no pointer passed to store duration in */
- if (duration == NULL) {
+ if (!duration) {
ast_log(LOG_WARNING, "Error play_and_record called without duration pointer\n");
return -1;
}