]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fixup
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 9 Aug 2018 08:46:13 +0000 (08:46 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 9 Aug 2018 08:46:13 +0000 (08:46 +0000)
git-svn-id: file:///svn/unbound/trunk@4843 be551aaa-1e26-0410-a405-d3ace91eadb9

smallapp/unbound-checkconf.c

index fc256188803a37a0c0b30884ef71515a5e768b51..770cb5c355441f20e6dea985bf760cc2f7eba991 100644 (file)
@@ -414,7 +414,7 @@ check_modules_exist(const char* module_conf)
                        size_t j;
                        n[0]=0;
                        n[sizeof(n)-1]=0;
-                       for(j=0; j<sizeof(n); j++) {
+                       for(j=0; j<sizeof(n)-1; j++) {
                                if(!s[j] || isspace((unsigned char)s[j])) {
                                        n[j] = 0;
                                        break;