diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2018-04-06 14:48:45 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2018-04-06 14:48:45 +0300 |
commit | 2bc017183f7c923bba31a84b394f2208745a0aeb (patch) | |
tree | f313650dbced06ee0f6d6ce32100c2072f8e36ce /src | |
parent | 14ede96565a98632cdd332dbb2dd77e52266ee42 (diff) | |
download | fileserv-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |