summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 923589c)
raw | patch | inline | side by side (parent: 923589c)
author | Sebastian Harl <sh@tokkee.org> | |
Fri, 25 Apr 2014 14:11:11 +0000 (16:11 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 25 Apr 2014 14:11:11 +0000 (16:11 +0200) |
src/core/plugin.c | patch | blob | history |
diff --git a/src/core/plugin.c b/src/core/plugin.c
index dc3717b3dcdf468a290b2b4d2e7214397fb017b2..eb9797fb40f8ba694f687acec082792877d115fd 100644 (file)
--- a/src/core/plugin.c
+++ b/src/core/plugin.c
sdb_log(SDB_LOG_ERR, "core: Failed to sleep "
"in collector main loop: %s",
sdb_strerror(errno, errbuf, sizeof(errbuf)));
+ sdb_llist_insert_sorted(collector_list, obj,
+ plugin_cmp_next_update);
+ sdb_object_deref(obj);
return -1;
}
errno = 0;