Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
python: Improved error handling and logging in ashd-wsgi.
[ashd.git]
/
src
/
dirplex
/
conf.c
diff --git
a/src/dirplex/conf.c
b/src/dirplex/conf.c
index
84c035d
..
dec84b5
100644
(file)
--- a/
src/dirplex/conf.c
+++ b/
src/dirplex/conf.c
@@
-262,6
+262,9
@@
struct config *readconfig(char *file)
if(cf->capture != NULL)
free(cf->capture);
cf->capture = sstrdup(s->argv[1]);
if(cf->capture != NULL)
free(cf->capture);
cf->capture = sstrdup(s->argv[1]);
+ cf->caproot = 1;
+ if((s->argc > 2) && strchr(s->argv[2], 'R'))
+ cf->caproot = 0;
} else if(!strcmp(s->argv[0], "eof")) {
break;
} else {
} else if(!strcmp(s->argv[0], "eof")) {
break;
} else {