Update of /usr/cvsroot/asterisk In directory mongoose.digium.com:/tmp/cvs-serv7485 Modified Files: pbx.c Log Message: Make sure ExecIf stuff returns properly (bug #3864) Index: pbx.c =================================================================== RCS file: /usr/cvsroot/asterisk/pbx.c,v retrieving revision 1.216 retrieving revision 1.217 diff -u -d -r1.216 -r1.217 --- pbx.c 29 Mar 2005 06:16:49 -0000 1.216 +++ pbx.c 29 Mar 2005 06:18:58 -0000 1.217 @@ -300,7 +300,8 @@ " 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 @@ int res = 0; char *ptr1, *ptr2; struct ast_timing timing; - const char *usage = "ExecIfTime requires an argument:\n