[asterisk-commits] russell: trunk r107790 - /trunk/funcs/func_config.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 11 17:54:26 CDT 2008


Author: russell
Date: Tue Mar 11 17:54:25 2008
New Revision: 107790

URL: http://svn.digium.com/view/asterisk?view=rev&rev=107790
Log:
remove documentation of an argument that i did not implement

Modified:
    trunk/funcs/func_config.c

Modified: trunk/funcs/func_config.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_config.c?view=diff&rev=107790&r1=107789&r2=107790
==============================================================================
--- trunk/funcs/func_config.c (original)
+++ trunk/funcs/func_config.c Tue Mar 11 17:54:25 2008
@@ -90,15 +90,10 @@
 
 static struct ast_custom_function config_function = {
 	.name = "AST_CONFIG",
-	.syntax = "AST_CONFIG(config_file,category,variable_name[,index])",
+	.syntax = "AST_CONFIG(config_file,category,variable_name)",
 	.synopsis = "Retrieve a variable from a configuration file",
 	.desc = 
 	"   This function reads a variable from an Asterisk configuration file.\n"
-	"The optional index parameter would be used in the case that a variable\n"
-	"exists more than once in a category.  The index is zero-based, so an\n"
-	"index of 0 returns the first instance of the variable.  Also, if the\n"
-	"word \"count\" in the index field, the number of instances of that\n"
-	"variable will be returned.\n"
 	"",
 	.read = config_function_read,
 };




More information about the asterisk-commits mailing list