]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #1250: inconsistent indentation in services/listen_dnsport.c.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 13 Apr 2017 07:17:05 +0000 (07:17 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 13 Apr 2017 07:17:05 +0000 (07:17 +0000)
git-svn-id: file:///svn/unbound/trunk@4113 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
services/listen_dnsport.c
util/config_file.c

index ccc5c0158b928d81a779e1b3257454ff8b77e48f..f855e3866431839814e21dfa553ff9940bf838a7 100644 (file)
@@ -1,3 +1,6 @@
+13 April 2017: Wouter
+       - Fix #1250: inconsistent indentation in services/listen_dnsport.c.
+
 12 April 2017: Wouter
        - subnet mem value is available in shm, also when not enabled,
          to make the struct easier to memmap by other applications,
index e39ebb58bfbc88e10104ae2578a56e7628f65f61..37ee9a6b9b466728a7b640395fe05d47cb951256 100644 (file)
@@ -1185,7 +1185,7 @@ listen_create(struct comm_base* base, struct listen_port* ports,
        front->cps = NULL;
        front->udp_buff = sldns_buffer_new(bufsize);
 #ifdef USE_DNSCRYPT
-    front->dnscrypt_udp_buff = NULL;
+       front->dnscrypt_udp_buff = NULL;
 #endif
        if(!front->udp_buff) {
                free(front);
index 746cb856dac7614bc65ce5be943cc0582ddc973a..af176929dc35280a5b38c4ce197fdc7030bf20b6 100644 (file)
@@ -274,7 +274,7 @@ config_create(void)
        cfg->qname_minimisation_strict = 0;
        cfg->shm_enable = 0;
        cfg->shm_key = 11777;
-    cfg->dnscrypt = 0;
+       cfg->dnscrypt = 0;
        cfg->dnscrypt_port = 0;
        cfg->dnscrypt_provider = NULL;
        cfg->dnscrypt_provider_cert = NULL;
@@ -978,7 +978,7 @@ config_read(struct config_file* cfg, const char* filename, const char* chroot)
        ub_c_parse();
        fclose(in);
 
-    if(!cfg->dnscrypt) cfg->dnscrypt_port = 0;
+       if(!cfg->dnscrypt) cfg->dnscrypt_port = 0;
 
        if(cfg_parser->errors != 0) {
                fprintf(stderr, "read %s failed: %d errors in configuration file\n",