From: Sebastian Harl Date: Mon, 17 Dec 2012 10:37:56 +0000 (+0100) Subject: store: Print the right update timestamp when dumping services. X-Git-Tag: sysdb-0.1.0~447 X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=commitdiff_plain;h=65acb0aa66470787726fb7e62765e36cabbd2a8b;hp=b5890679b40f95e30a25f71ad0f674e1defa42d5 store: Print the right update timestamp when dumping services. --- 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';