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);
 

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to