From b02fd7a66d02301fb376bd98d1cdb7234511ca96 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Tue, 29 Mar 2005 06:18:58 +0000 Subject: Make sure ExecIf stuff returns properly (bug #3864) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5297 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'pbx.c') diff --git a/pbx.c b/pbx.c index d2f1699d6..dd9e98feb 100755 --- a/pbx.c +++ b/pbx.c @@ -300,7 +300,8 @@ static struct pbx_builtin { " ExecIfTime(|||?[|]):\n" "If the current time matches the specified time, then execute the specified\n" "application. Each of the elements may be specified either as '*' (for always)\n" - "or as a range. See the 'include' syntax for details." + "or as a range. See the 'include' syntax for details. It will return whatever\n" + " returns, or a non-zero value if the application is not found.\n" }, { "Hangup", pbx_builtin_hangup, @@ -5372,10 +5373,10 @@ static int pbx_builtin_execiftime(struct ast_channel *chan, void *data) int res = 0; char *ptr1, *ptr2; struct ast_timing timing; - const char *usage = "ExecIfTime requires an argument:\n