projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d535398
)
fscache plugin: unsigned value can't be negative
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sun, 24 Jul 2016 15:11:46 +0000
(17:11 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sun, 24 Jul 2016 15:11:46 +0000
(17:11 +0200)
src/fscache.c
patch
|
blob
|
history
diff --git
a/src/fscache.c
b/src/fscache.c
index
8fbd271
..
68f5c79
100644
(file)
--- a/
src/fscache.c
+++ b/
src/fscache.c
@@
-175,7
+175,7
@@
static void fscache_read_stats_file (FILE *fh)
section_len--;
section[section_len] = 0;
}
- if (section_len
<
= 0)
+ if (section_len
=
= 0)
continue;
fields_num = strsplit (lineptr, fields, STATIC_ARRAY_SIZE (fields));