[icinga-checkins] icinga.org: icinga-core/mfriedrich/ido: idoutils: add remaining patch to ido2db #2292

git at icinga.org git at icinga.org
Thu Apr 19 14:58:29 CEST 2012


Module: icinga-core
Branch: mfriedrich/ido
Commit: f5b780b389676f9bee4bab44912129f1a21b967c
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=f5b780b389676f9bee4bab44912129f1a21b967c

Author: Thomas Dressler <tdressler at tdressler.net>
Date:   Sun Apr  8 20:17:04 2012 +0200

idoutils: add remaining patch to ido2db #2292
refs #2292

---

 module/idoutils/src/ido2db.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/module/idoutils/src/ido2db.c b/module/idoutils/src/ido2db.c
index 7a416af..5be9c3a 100644
--- a/module/idoutils/src/ido2db.c
+++ b/module/idoutils/src/ido2db.c
@@ -7,6 +7,7 @@
  **************************************************************/
 
 /*#define DEBUG_MEMORY 1*/
+/*#define DEBUG_IDO2DB2 1*/
 
 #ifdef DEBUG_MEMORY
 #include <mcheck.h>
@@ -1464,7 +1465,7 @@ int ido2db_check_for_client_input(ido2db_idi *idi) {
 
 #ifdef DEBUG_IDO2DB2
 	printf("RAWBUF: %s\n", dbuf.buf);
-	printf("  USED1: %lu, BYTES: %lu, LINES: %lu\n", dbuf->used_size, idi->bytes_processed, idi->lines_processed);
+	printf("  USED1: %lu, BYTES: %lu, LINES: %lu\n", dbuf.used_size, idi->bytes_processed, idi->lines_processed);
 #endif
 
 	/* search for complete lines of input */





More information about the icinga-checkins mailing list