[icinga-checkins] icinga.org: icinga-core/cmaser/fixes: fix send comments to the broker with proper expiration_time ( Matthieu Kermagoret)

git at icinga.org git at icinga.org
Fri Sep 3 11:28:53 CEST 2010


Module: icinga-core
Branch: cmaser/fixes
Commit: 71f3e93cce7f824b626981c45feb764f4f362b88
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=71f3e93cce7f824b626981c45feb764f4f362b88

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Aug 27 12:35:23 2010 +0200

fix send comments to the broker with proper expiration_time (Matthieu Kermagoret)

refs #747

---

 Changelog         |    2 ++
 common/comments.c |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/Changelog b/Changelog
index bed9576..f39df23 100644
--- a/Changelog
+++ b/Changelog
@@ -9,6 +9,8 @@ ENHANCEMENTS
 
 
 FIXES
+* core: fix send comments to the broker with proper expiration_time (Matthieu Kermagoret)
+
 * classic ui: update jquery for multiple cmds dropdown, resolve conflicts with pnp
 
 
diff --git a/common/comments.c b/common/comments.c
index 72df501..8bae476 100644
--- a/common/comments.c
+++ b/common/comments.c
@@ -539,7 +539,7 @@ int add_comment(int comment_type, int entry_type, char *host_name, char *svc_des
 #ifdef NSCORE
 #ifdef USE_EVENT_BROKER
 	/* send data to event broker */
-	broker_comment_data(NEBTYPE_COMMENT_LOAD,NEBFLAG_NONE,NEBATTR_NONE,comment_type,entry_type,host_name,svc_description,entry_time,author,comment_data,persistent,source,expires,entry_time,comment_id,NULL);
+	broker_comment_data(NEBTYPE_COMMENT_LOAD,NEBFLAG_NONE,NEBATTR_NONE,comment_type,entry_type,host_name,svc_description,entry_time,author,comment_data,persistent,source,expires,expire_time,comment_id,NULL);
 #endif
 #endif
 





More information about the icinga-checkins mailing list