aboutsummaryrefslogtreecommitdiffstats
path: root/lufis/options.c
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2004-03-12 15:22:16 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2004-03-12 15:22:16 +0000
commita5f7fb595deb74d31e703da8048d6e90c0ef2ae0 (patch)
treeb97cef416c9475596bdd9915a278a3e50e693030 /lufis/options.c
parentf79d899eb4e88c3a857b835ff82bb354c6448afd (diff)
downloadlibfuse-a5f7fb595deb74d31e703da8048d6e90c0ef2ae0.tar.gz
lufis 0.2
Diffstat (limited to 'lufis/options.c')
-rw-r--r--lufis/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lufis/options.c b/lufis/options.c
index 44f3663..b8b7b3a 100644
--- a/lufis/options.c
+++ b/lufis/options.c
@@ -266,7 +266,7 @@ lu_opt_parse(struct list_head *conf, char *domain, char *opts){
if(sep){
TRACE("option with parameter");
- if((strlen(sep + 1) >= MAX_LEN) || !(prop->value = malloc(strlen(sep + 1) + 1))){
+ if(!(prop->value = malloc(strlen(sep + 1) + 1))){
WARN("out of mem!");
free(prop->key);
free(prop);