From a5f7fb595deb74d31e703da8048d6e90c0ef2ae0 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 12 Mar 2004 15:22:16 +0000 Subject: lufis 0.2 --- lufis/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lufis/options.c') 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); -- cgit v1.2.3