[Asterisk-cvs] asterisk/apps app_eval.c,1.4,1.5
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Sun May 15 19:47:48 CDT 2005
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv19278/apps
Modified Files:
app_eval.c
Log Message:
add EVAL function, deprecate Eval application (bug #4277)
Index: app_eval.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_eval.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- app_eval.c 27 Apr 2005 01:50:53 -0000 1.4
+++ app_eval.c 15 May 2005 23:53:11 -0000 1.5
@@ -49,6 +49,12 @@
int res=0;
struct localuser *u;
char *s, *newvar=NULL, tmp[MAXRESULT];
+ static int dep_warning = 0;
+
+ if (!dep_warning) {
+ ast_log(LOG_WARNING, "This application has been deprecated in favor of the dialplan function, EVAL\n");
+ dep_warning = 1;
+ }
LOCAL_USER_ADD(u);
More information about the svn-commits
mailing list