]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fix to account for tabs as well.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 28 Feb 2019 12:06:04 +0000 (12:06 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 28 Feb 2019 12:06:04 +0000 (12:06 +0000)
git-svn-id: file:///svn/unbound/trunk@5129 be551aaa-1e26-0410-a405-d3ace91eadb9

services/modstack.c

index fb9c3f54e015c5d4064e98f4fc8ad135e1bc17b2..05b949d1e330d57fea5c2ec568253d5d8ef36d47 100644 (file)
@@ -116,6 +116,7 @@ modstack_config(struct module_stack* stack, const char* module_conf)
                        char md[256];
                        snprintf(md, sizeof(md), "%s", module_conf);
                        if(strchr(md, ' ')) *(strchr(md, ' ')) = 0;
+                       if(strchr(md, '\t')) *(strchr(md, '\t')) = 0;
                         log_err("Unknown value in module-config, module: '%s'."
                                " This module is not present (not compiled in),"
                                " See the list of linked modules with unbound -h",