[asterisk-commits] trunk - r7832 in /trunk: ./ pbx/pbx_config.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Jan 5 18:36:13 CST 2006
Author: tilghman
Date: Thu Jan 5 18:36:12 2006
New Revision: 7832
URL: http://svn.digium.com/view/asterisk?rev=7832&view=rev
Log:
Merged revisions 7831 via svnmerge from
/branches/1.2
Modified:
trunk/ (props changed)
trunk/pbx/pbx_config.c
Propchange: trunk/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Thu Jan 5 18:36:12 2006
@@ -1,1 +1,1 @@
-/branches/1.2:1-7489,7491-7496,7498-7516,7518-7528,7530-7545,7547-7549,7551,7553-7556,7558-7579,7581-7585,7587-7594,7596-7604,7606-7640,7642-7662,7664-7705,7707-7737,7739-7770,7772-7791,7793-7811,7813-7829
+/branches/1.2:1-7489,7491-7496,7498-7516,7518-7528,7530-7545,7547-7549,7551,7553-7556,7558-7579,7581-7585,7587-7594,7596-7604,7606-7640,7642-7662,7664-7705,7707-7737,7739-7770,7772-7791,7793-7811,7813-7829,7831
Modified: trunk/pbx/pbx_config.c
URL: http://svn.digium.com/view/asterisk/trunk/pbx/pbx_config.c?rev=7832&r1=7831&r2=7832&view=diff
==============================================================================
--- trunk/pbx/pbx_config.c (original)
+++ trunk/pbx/pbx_config.c Thu Jan 5 18:36:12 2006
@@ -712,7 +712,7 @@
if (argc != 5) return RESULT_SHOWUSAGE;
/* third arg must be 'in' ... */
- if (strcmp(argv[3], "in")) return RESULT_SHOWUSAGE;
+ if (strcmp(argv[3], "in") && strcmp(argv[3], "into")) return RESULT_SHOWUSAGE;
if (ast_context_add_include(argv[4], argv[2], registrar)) {
switch (errno) {
@@ -724,7 +724,7 @@
case EEXIST:
ast_cli(fd, "Context '%s' already included in '%s' context\n",
- argv[1], argv[3]); break;
+ argv[2], argv[4]); break;
case ENOENT:
case EINVAL:
@@ -733,14 +733,14 @@
default:
ast_cli(fd, "Failed to include '%s' in '%s' context\n",
- argv[1], argv[3]); break;
+ argv[2], argv[4]); break;
}
return RESULT_FAILURE;
}
/* show some info ... */
ast_cli(fd, "Context '%s' included in '%s' context\n",
- argv[2], argv[3]);
+ argv[2], argv[4]);
return RESULT_SUCCESS;
}
More information about the asterisk-commits
mailing list