git://git.jankratochvil.net
/
lufs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03be0b8
)
Disable 'MAX_LEN' limitation of option (engine command-line) length.
author
short
<>
Fri, 22 Aug 2003 00:00:33 +0000
(
00:00
+0000)
committer
short
<>
Fri, 22 Aug 2003 00:00:33 +0000
(
00:00
+0000)
lufsd/options.c
patch
|
blob
|
history
diff --git
a/lufsd/options.c
b/lufsd/options.c
index
44f3663
..
2f9ae59
100644
(file)
--- a/
lufsd/options.c
+++ b/
lufsd/options.c
@@
-266,7
+266,9
@@
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(
+ /* (strlen(sep + 1) >= MAX_LEN) || - FIXME: Why the limit was here? */
+ !(prop->value = malloc(strlen(sep + 1) + 1))){
WARN("out of mem!");
free(prop->key);
free(prop);