From 3dcfbf12d5ec0b62bc540ac59944ddf50c37c1f2 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 28 Aug 2013 15:18:11 +0200 Subject: [PATCH] src/utils_mount.c: Fix wrong behavior in cu_mount_getoptionvalue(). Github: #412 --- src/utils_mount.c | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.30.2