[icinga-checkins] icinga.org: icinga-core/dev/core: fix copy paste error in reading trigger_time from status.dat #2537
git at icinga.org
git at icinga.org
Mon Apr 23 02:11:01 CEST 2012
Module: icinga-core
Branch: dev/core
Commit: e17125c338793cf30bd9cd734ec8efe58d7fb3d2
URL: https://git.icinga.org/?p=icinga-core.git;a=commit;h=e17125c338793cf30bd9cd734ec8efe58d7fb3d2
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date: Sun Apr 22 23:23:58 2012 +0200
fix copy paste error in reading trigger_time from status.dat #2537
refs #2537
---
xdata/xsddefault.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/xdata/xsddefault.c b/xdata/xsddefault.c
index e3f4986..c743100 100644
--- a/xdata/xsddefault.c
+++ b/xdata/xsddefault.c
@@ -1337,7 +1337,7 @@ int xsddefault_read_status_data(char *config_file, int options) {
else if (!strcmp(var, "comment"))
comment_data = (char *)strdup(val);
else if (!strcmp(var, "trigger_time"))
- end_time = strtoul(val, NULL, 10);
+ trigger_time = strtoul(val, NULL, 10);
break;
default:
More information about the icinga-checkins
mailing list