summaryrefslogtreecommitdiff
path: root/src/cli_shell_api.cpp
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2011-03-17 16:06:30 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2011-03-17 16:06:30 -0700
commit3c5d31bc073c6064fb4f9e595f5f18df64846dfd (patch)
treeb12b2ecfe8ffc55625a5e515c5dc0c6c8c119e82 /src/cli_shell_api.cpp
parent114f8a12878ae8890a6eddff81923f00e4438ef7 (diff)
downloadvyatta-cfg-3c5d31bc073c6064fb4f9e595f5f18df64846dfd.tar.gz
vyatta-cfg-3c5d31bc073c6064fb4f9e595f5f18df64846dfd.zip
remove debug output
Diffstat (limited to 'src/cli_shell_api.cpp')
-rw-r--r--src/cli_shell_api.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/cli_shell_api.cpp b/src/cli_shell_api.cpp
index 8fea74a..9678e5c 100644
--- a/src/cli_shell_api.cpp
+++ b/src/cli_shell_api.cpp
@@ -371,14 +371,7 @@ returnEffectiveValues(Cstore& cstore, const Cpath& args)
static void
validateTmplPath(Cstore& cstore, const Cpath& args)
{
- printf("validate:");
- Cpath p;
- for (size_t i = 0; i < args.size(); i++) {
- p.push(args[i]);
- printf(" [%s]", p[i]);
- }
- printf("\n");
- exit(cstore.validateTmplPath(p, false) ? 0 : 1);
+ exit(cstore.validateTmplPath(args, false) ? 0 : 1);
}
/* checks if specified path is a valid "template path", *including* the