[asterisk-commits] tilghman: trunk r52680 - in /trunk: ./ pbx/pbx_config.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jan 29 15:13:57 MST 2007


Author: tilghman
Date: Mon Jan 29 16:13:56 2007
New Revision: 52680

URL: http://svn.digium.com/view/asterisk?view=rev&rev=52680
Log:
Merged revisions 52679 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52679 | tilghman | 2007-01-29 16:12:12 -0600 (Mon, 29 Jan 2007) | 2 lines

Argument number correction

........

Modified:
    trunk/   (props changed)
    trunk/pbx/pbx_config.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/pbx/pbx_config.c
URL: http://svn.digium.com/view/asterisk/trunk/pbx/pbx_config.c?view=diff&rev=52680&r1=52679&r2=52680
==============================================================================
--- trunk/pbx/pbx_config.c (original)
+++ trunk/pbx/pbx_config.c Mon Jan 29 16:13:56 2007
@@ -946,7 +946,7 @@
 	/* check for arguments at first */
 	if (argc != 6 && argc != 7)
 		return RESULT_SHOWUSAGE;
-	if (strcmp(argv[3], "into"))
+	if (strcmp(argv[4], "into"))
 		return RESULT_SHOWUSAGE;
 	if (argc == 7) if (strcmp(argv[6], "replace")) return RESULT_SHOWUSAGE;
 
@@ -991,7 +991,7 @@
 
 	if (!app_data)
 		app_data="";
-	if (ast_add_extension(argv[5], argc == 6 ? 1 : 0, exten, iprior, NULL, cidmatch, app,
+	if (ast_add_extension(argv[5], argc == 7 ? 1 : 0, exten, iprior, NULL, cidmatch, app,
 		(void *)strdup(app_data), free, registrar)) {
 		switch (errno) {
 		case ENOMEM:



More information about the asterisk-commits mailing list