mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- 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:
parent
c9e5433a70
commit
16428ccbd2
3 changed files with 6 additions and 3 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
13 April 2017: Wouter
|
||||||
|
- Fix #1250: inconsistent indentation in services/listen_dnsport.c.
|
||||||
|
|
||||||
12 April 2017: Wouter
|
12 April 2017: Wouter
|
||||||
- subnet mem value is available in shm, also when not enabled,
|
- subnet mem value is available in shm, also when not enabled,
|
||||||
to make the struct easier to memmap by other applications,
|
to make the struct easier to memmap by other applications,
|
||||||
|
|
|
||||||
|
|
@ -1185,7 +1185,7 @@ listen_create(struct comm_base* base, struct listen_port* ports,
|
||||||
front->cps = NULL;
|
front->cps = NULL;
|
||||||
front->udp_buff = sldns_buffer_new(bufsize);
|
front->udp_buff = sldns_buffer_new(bufsize);
|
||||||
#ifdef USE_DNSCRYPT
|
#ifdef USE_DNSCRYPT
|
||||||
front->dnscrypt_udp_buff = NULL;
|
front->dnscrypt_udp_buff = NULL;
|
||||||
#endif
|
#endif
|
||||||
if(!front->udp_buff) {
|
if(!front->udp_buff) {
|
||||||
free(front);
|
free(front);
|
||||||
|
|
|
||||||
|
|
@ -274,7 +274,7 @@ config_create(void)
|
||||||
cfg->qname_minimisation_strict = 0;
|
cfg->qname_minimisation_strict = 0;
|
||||||
cfg->shm_enable = 0;
|
cfg->shm_enable = 0;
|
||||||
cfg->shm_key = 11777;
|
cfg->shm_key = 11777;
|
||||||
cfg->dnscrypt = 0;
|
cfg->dnscrypt = 0;
|
||||||
cfg->dnscrypt_port = 0;
|
cfg->dnscrypt_port = 0;
|
||||||
cfg->dnscrypt_provider = NULL;
|
cfg->dnscrypt_provider = NULL;
|
||||||
cfg->dnscrypt_provider_cert = 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();
|
ub_c_parse();
|
||||||
fclose(in);
|
fclose(in);
|
||||||
|
|
||||||
if(!cfg->dnscrypt) cfg->dnscrypt_port = 0;
|
if(!cfg->dnscrypt) cfg->dnscrypt_port = 0;
|
||||||
|
|
||||||
if(cfg_parser->errors != 0) {
|
if(cfg_parser->errors != 0) {
|
||||||
fprintf(stderr, "read %s failed: %d errors in configuration file\n",
|
fprintf(stderr, "read %s failed: %d errors in configuration file\n",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue