From: Wouter Wijngaards Date: Thu, 13 Apr 2017 07:17:05 +0000 (+0000) Subject: - Fix #1250: inconsistent indentation in services/listen_dnsport.c. X-Git-Tag: release-1.6.2rc1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16428ccbd20da0aca31ab4d508bd5ab97ed47dee;p=thirdparty%2Funbound.git - Fix #1250: inconsistent indentation in services/listen_dnsport.c. git-svn-id: file:///svn/unbound/trunk@4113 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index ccc5c0158..f855e3866 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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, diff --git a/services/listen_dnsport.c b/services/listen_dnsport.c index e39ebb58b..37ee9a6b9 100644 --- a/services/listen_dnsport.c +++ b/services/listen_dnsport.c @@ -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); diff --git a/util/config_file.c b/util/config_file.c index 746cb856d..af176929d 100644 --- a/util/config_file.c +++ b/util/config_file.c @@ -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",