From: Wouter Wijngaards Date: Thu, 28 Feb 2019 12:06:04 +0000 (+0000) Subject: Fix to account for tabs as well. X-Git-Tag: release-1.9.1rc1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c79a99a577e067df04b3b95abf73e8944b646141;p=thirdparty%2Funbound.git Fix to account for tabs as well. git-svn-id: file:///svn/unbound/trunk@5129 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/services/modstack.c b/services/modstack.c index fb9c3f54e..05b949d1e 100644 --- a/services/modstack.c +++ b/services/modstack.c @@ -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",