projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86ccc16
)
plugin.c: Fix an endless loop.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sun, 1 Apr 2007 17:13:30 +0000
(19:13 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sun, 1 Apr 2007 17:13:30 +0000
(19:13 +0200)
src/plugin.c
patch
|
blob
|
history
diff --git
a/src/plugin.c
b/src/plugin.c
index
c6762de
..
7aef873
100644
(file)
--- a/
src/plugin.c
+++ b/
src/plugin.c
@@
-526,7
+526,10
@@
void plugin_read_all (const int *loop)
rf = (read_func_t *) le->value;
if (rf->needs_read != DONE)
+ {
+ le = le->next;
continue;
+ }
if (rf->wait_left > 0)
rf->wait_left -= interval_g;