summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-04-06 14:48:45 +0300
committerSergey Poznyakoff <gray@gnu.org>2018-04-06 14:48:45 +0300
commit2bc017183f7c923bba31a84b394f2208745a0aeb (patch)
treef313650dbced06ee0f6d6ce32100c2072f8e36ce /src
parent14ede96565a98632cdd332dbb2dd77e52266ee42 (diff)
downloadfileserv-2bc017183f7c923bba31a84b394f2208745a0aeb.tar.gz
fileserv-2bc017183f7c923bba31a84b394f2208745a0aeb.tar.bz2
Bugfix
* src/idx.c (directory_index): Fix conditional expression.
Diffstat (limited to 'src')
-rw-r--r--src/idx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idx.c b/src/idx.c
index a15a9f1..5db66ab 100644
--- a/src/idx.c
+++ b/src/idx.c
@@ -753,7 +753,7 @@ directory_index(int fd, CONFIG const *conf,
if (index_disabled)
return ENOSYS;
if (STAILQ_EMPTY(&node_list)) {
- if (parse_template_string(defidx) == 0) {
+ if (parse_template_string(defidx)) {
error("error compiling built-in template!");
index_disabled = 1;
return ENOSYS;

Return to:

Send suggestions and report system problems to the System administrator.