Formatting change ... testing
authorRussell Bryant <russell@russellbryant.com>
Wed, 6 Jun 2007 19:03:14 +0000 (19:03 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 6 Jun 2007 19:03:14 +0000 (19:03 +0000)
(issue #9828)

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

main/app.c

index 8510522..32e36e9 100644 (file)
@@ -1067,7 +1067,7 @@ int ast_record_review(struct ast_channel *chan, const char *playfile, const char
        /* Note that urgent and private are for flagging messages as such in the future */
 
        /* barf if no pointer passed to store duration in */
-       if (duration == NULL) {
+       if (!duration) {
                ast_log(LOG_WARNING, "Error ast_record_review called without duration pointer\n");
                return -1;
        }