diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2011-03-17 16:06:30 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2011-03-17 16:06:30 -0700 |
commit | 3c5d31bc073c6064fb4f9e595f5f18df64846dfd (patch) | |
tree | b12b2ecfe8ffc55625a5e515c5dc0c6c8c119e82 /src/cli_shell_api.cpp | |
parent | 114f8a12878ae8890a6eddff81923f00e4438ef7 (diff) | |
download | vyatta-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.cpp | 9 |
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 |