- Fix #1250: inconsistent indentation in services/listen_dnsport.c.

git-svn-id: file:///svn/unbound/trunk@4113 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2017-04-13 07:17:05 +00:00
parent c9e5433a70
commit 16428ccbd2
3 changed files with 6 additions and 3 deletions

View 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,

View 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);

View 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",