diff options
Diffstat (limited to 'lufis/options.c')
-rw-r--r-- | lufis/options.c | 2 |
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); |