[Asterisk-cvs] asterisk/channels chan_agent.c,1.164,1.165

kpfleming kpfleming
Thu Nov 3 16:27:26 CST 2005


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

Modified Files:
	chan_agent.c 
Log Message:
major update to arg/option parsing APIs and documentation


Index: chan_agent.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_agent.c,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -d -r1.164 -r1.165
--- chan_agent.c	28 Oct 2005 17:22:34 -0000	1.164
+++ chan_agent.c	3 Nov 2005 21:19:10 -0000	1.165
@@ -317,7 +317,7 @@
 	args = ast_strdupa(agent);
 
 	// Extract username (agt), password and name from agent (args).
-	if ((argc = ast_separate_app_args(args, ',', argv, sizeof(argv) / sizeof(argv[0])))) {
+	if ((argc = ast_app_separate_args(args, ',', argv, sizeof(argv) / sizeof(argv[0])))) {
 		agt = argv[0];
 		if (argc > 1) {
 			password = argv[1];




More information about the svn-commits mailing list