summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b589067)
raw | patch | inline | side by side (parent: b589067)
author | Sebastian Harl <sh@tokkee.org> | |
Mon, 17 Dec 2012 10:37:56 +0000 (11:37 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Mon, 17 Dec 2012 10:37:56 +0000 (11:37 +0100) |
src/core/store.c | patch | blob | history |
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';