summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f6b9d3b)
raw | patch | inline | side by side (parent: f6b9d3b)
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 cae3706794737fe438c79132cea13121c22b7ad9..3cede018e243067d5f1bcfb71d5f9e76949b074e 100644 (file)
--- a/src/utils_mount.c
+++ b/src/utils_mount.c
r += strlen(keyword);
p = strchr(r, ',');
if(p == NULL) {
- if(strlen(r) == 0) {
- return NULL;
- }
return sstrdup(r);
} else {
char *m;