X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_mount.c;h=3cede018e243067d5f1bcfb71d5f9e76949b074e;hb=8aad55ab7d737a97d5927458b2b00885e27cae4d;hp=cae3706794737fe438c79132cea13121c22b7ad9;hpb=0f74e253aeb26c3b4908fdced0a00c7c1f2ad5cd;p=collectd.git diff --git a/src/utils_mount.c b/src/utils_mount.c index cae37067..3cede018 100644 --- 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;