summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f569dc6)
raw | patch | inline | side by side (parent: f569dc6)
author | Sebastian Harl <sh@tokkee.org> | |
Tue, 11 Dec 2012 08:42:23 +0000 (09:42 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Tue, 11 Dec 2012 08:42:23 +0000 (09:42 +0100) |
This may happen, if multiple backends report the same host (which is perfectly
fine and the desired behavior in fact).
fine and the desired behavior in fact).
src/core/store.c | patch | blob | history |
diff --git a/src/core/store.c b/src/core/store.c
index 9528a310785a9714135fdd55c37e9f3a5f632804..f80c49e15d8964c606a32dad0470755cef9efed3 100644 (file)
--- a/src/core/store.c
+++ b/src/core/store.c
fprintf(stderr, "store: Cannot update host '%s' - "
"value too old (%"PRIscTIME" < %"PRIscTIME")\n",
host->host_name, last_update, old->host_last_update);
- status = -1;
+ /* don't report an error; the host may be updated by multiple
+ * backends */
+ status = 0;
}
else {
old->host_last_update = last_update;