diff --git a/src/core/store.c b/src/core/store.c
index 888fbb973449870ae82b5c2910a386e47a2481f9..87f94dd3b5edbccb2e1e6a60ecc57392399e97a2 100644 (file)
--- a/src/core/store.c
+++ b/src/core/store.c
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), "<error>");
time_str[sizeof(time_str) - 1] = '\0';