From 65acb0aa66470787726fb7e62765e36cabbd2a8b Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Mon, 17 Dec 2012 11:37:56 +0100 Subject: [PATCH] store: Print the right update timestamp when dumping services. --- src/core/store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/store.c b/src/core/store.c index 888fbb9..87f94dd 100644 --- a/src/core/store.c +++ b/src/core/store.c @@ -427,7 +427,7 @@ sc_store_dump(FILE *fh) assert(svc); if (! sc_strftime(time_str, sizeof(time_str), - "%F %T %z", host->host_last_update)) + "%F %T %z", svc->svc_last_update)) snprintf(time_str, sizeof(time_str), ""); time_str[sizeof(time_str) - 1] = '\0'; -- 2.30.2