summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/app.c b/main/app.c
index 85105225c..32e36e9df 100644
--- a/main/app.c
+++ b/main/app.c
@@ -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;
}