[icinga-checkins] icinga.org: icinga-core/mbrooks/core: fix accidently changed contact_object_id

git at icinga.org git at icinga.org
Fri Jul 29 00:40:00 CEST 2011


Module: icinga-core
Branch: mbrooks/core
Commit: 552be73768476bb7216b19bef091f947b2595b70
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=552be73768476bb7216b19bef091f947b2595b70

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Jul 22 20:40:44 2011 +0200

fix accidently changed contact_object_id

---

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

diff --git a/module/idoutils/src/dbhandlers.c b/module/idoutils/src/dbhandlers.c
index 98ac951..6c602d8 100644
--- a/module/idoutils/src/dbhandlers.c
+++ b/module/idoutils/src/dbhandlers.c
@@ -6366,7 +6366,7 @@ int ido2db_handle_servicedefinition(ido2db_idi *idi) {
 
 #ifdef USE_LIBDBI
 	/* build a multiple insert value array */
-	if(asprintf(&buf1, "INSERT INTO %s (instance_id, service_id, contactgroup_object_id) VALUES ",
+	if(asprintf(&buf1, "INSERT INTO %s (instance_id, service_id, contact_object_id) VALUES ",
 			ido2db_db_tablenames[IDO2DB_DBTABLE_SERVICECONTACTS]
 			)==-1)
 		buf1=NULL;





More information about the icinga-checkins mailing list