Browse Source

Fix longopts in query parsing.

git-svn-id: https://klish.googlecode.com/svn/trunk@468 0eaa4687-2ee9-07dd-09d9-bcdd2d2dd5fb
Serj Kalichev 13 years ago
parent
commit
3eae685154
2 changed files with 5 additions and 0 deletions
  1. 4 0
      konf/query/query.c
  2. 1 0
      konf/query/query_dump.c

+ 4 - 0
konf/query/query.c

@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif /* HAVE_CONFIG_H */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>

+ 1 - 0
konf/query/query_dump.c

@@ -42,6 +42,7 @@ void konf_query_dump(konf_query_t *this)
 	lub_dump_printf("pwdc      : %u\n", this->pwdc);
 	lub_dump_printf("splitter  : %s\n", this->splitter ? "true" : "false");
 	lub_dump_printf("unique    : %s\n", this->unique ? "true" : "false");
+	lub_dump_printf("depth     : %d\n", this->depth);
 
 	lub_dump_undent();
 }