summaryrefslogtreecommitdiff
path: root/src/cli_val.h
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-11-09 16:56:20 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-11-09 16:56:20 -0800
commit646112e4e6e4d4ab36c61cba47e71c0a58322637 (patch)
tree48609671afccc5021a97206b8744950ee174ada3 /src/cli_val.h
parent909d3e2eb34283300016f0671b213d2d756111cf (diff)
downloadvyatta-cfg-646112e4e6e4d4ab36c61cba47e71c0a58322637.tar.gz
vyatta-cfg-646112e4e6e4d4ab36c61cba47e71c0a58322637.zip
* fix for bug 2472: return empty string when directory references don't
exist (for existence checks in templates). * add debug output.
Diffstat (limited to 'src/cli_val.h')
-rw-r--r--src/cli_val.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cli_val.h b/src/cli_val.h
index fec8054..7383263 100644
--- a/src/cli_val.h
+++ b/src/cli_val.h
@@ -215,4 +215,12 @@ extern FILE *out_stream;
extern int initialize_output();
+/*** debug ***/
+#undef CLI_DEBUG
+#ifdef CLI_DEBUG
+#define DPRINT(...) printf(__VA_ARGS__)
+#else
+#define DPRINT(...)
+#endif
+
#endif