projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6b9d3b
)
src/utils_mount.c: Fix wrong behavior in cu_mount_getoptionvalue().
author
Florian Forster
<octo@collectd.org>
Wed, 28 Aug 2013 13:18:11 +0000
(15:18 +0200)
committer
Florian Forster
<octo@collectd.org>
Wed, 28 Aug 2013 13:19:32 +0000
(15:19 +0200)
Github: #412
src/utils_mount.c
patch
|
blob
|
history
diff --git
a/src/utils_mount.c
b/src/utils_mount.c
index
cae3706
..
3cede01
100644
(file)
--- a/
src/utils_mount.c
+++ b/
src/utils_mount.c
@@
-752,9
+752,6
@@
cu_mount_getoptionvalue(char *line, char *keyword)
r += strlen(keyword);
p = strchr(r, ',');
if(p == NULL) {
- if(strlen(r) == 0) {
- return NULL;
- }
return sstrdup(r);
} else {
char *m;