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/?a=commitdiff_plain;h=65acb0aa66470787726fb7e62765e36cabbd2a8b;p=sysdb.git 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';