Summary: | ASTERISK-03774: [patch] ExecIfTime Always returns zero | ||
Reporter: | Russell Bryant (russell) | Labels: | |
Date Opened: | 2005-03-26 02:09:50.000-0600 | Date Closed: | 2008-01-15 15:29:13.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) execapps.txt | |
Description: | ExecIfTime(): This application would always return zero. It has been changed so that it will return whatever the called application returned, or -1 if the application was not found. ExecIf(): If the expression was true, but the application was not found, the application would still return zero. Now, it will return -1 in that case. Exec(): I just changed the description to not say it would return -2 when the application was not found to say that it will return a non-zero value. I figured this would sound a little bit less confusing to the user. ****** ADDITIONAL INFORMATION ****** disclaimer is on file russelb@clemson.edu | ||
Comments: | By: Mark Spencer (markster) 2005-03-29 00:25:54.000-0600 Added to CVS, thanks! By: Digium Subversion (svnbot) 2008-01-15 15:29:13.000-0600 Repository: asterisk Revision: 5297 U trunk/apps/app_exec.c U trunk/apps/app_while.c U trunk/pbx.c ------------------------------------------------------------------------ r5297 | markster | 2008-01-15 15:29:13 -0600 (Tue, 15 Jan 2008) | 2 lines Make sure ExecIf stuff returns properly (bug ASTERISK-3774) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5297 |