From: Russell Bryant Date: Wed, 6 Jun 2007 19:00:40 +0000 (+0000) Subject: Make another formatting change ... testing mantis/svn stuff X-Git-Tag: 1.6.0-beta1~3^2~2466 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ede56137871297d212a698145837ac2c3cd9909;p=thirdparty%2Fasterisk.git 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 --- diff --git a/main/app.c b/main/app.c index 3a6ae8c7a7..85105225cd 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; }