Make another formatting change ... testing mantis/svn stuff
authorRussell Bryant <russell@russellbryant.com>
Wed, 6 Jun 2007 19:00:40 +0000 (19:00 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 6 Jun 2007 19:00:40 +0000 (19:00 +0000)
(issue #9828)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67782 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/app.c

index 3a6ae8c..8510522 100644 (file)
@@ -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;
        }