[Asterisk-cvs] asterisk/apps app_substring.c,1.6,1.7

markster at lists.digium.com markster at lists.digium.com
Thu Apr 15 14:38:24 CDT 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv1854/apps

Modified Files:
	app_substring.c 
Log Message:
Make substring deprecated


Index: app_substring.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_substring.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- app_substring.c	27 Sep 2003 02:39:04 -0000	1.6
+++ app_substring.c	15 Apr 2004 18:41:17 -0000	1.7
@@ -26,9 +26,11 @@
 #include <pthread.h>
 
 
-static char *tdesc = "Save substring digits in a given variable";
+static char *tdesc = "(Deprecated) Save substring digits in a given variable";
 
 static char *descrip =
+"  (Deprecated, use ${variable:a:b} instead)\n"
+"\n"
 "  SubString(variable=string_of_digits|count1|count2): Assigns the substring\n"
 "of string_of_digits to a given variable. Parameter count1 may be positive\n"
 "or negative. If it's positive then we skip the first count1 digits from the\n"
@@ -48,7 +50,7 @@
 
 static char *app = "SubString";
 
-static char *synopsis = "Save substring digits in a given variable";
+static char *synopsis = "(Deprecated) Save substring digits in a given variable";
 
 STANDARD_LOCAL_USER;
 




More information about the svn-commits mailing list