Skip to content

Commit

Permalink
- Fix title underline and declaration after statement warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
wcawijngaards committed Aug 19, 2024
1 parent 9ee585e commit bf7f505
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
19 August 2024: Wouter
- Fix title underline and declaration after statement warnings.

15 August 2024: Jeroen
- Support reloading configuration on SIGHUP.

Expand Down
2 changes: 2 additions & 0 deletions doc/RELNOTES
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ NSD RELEASE NOTES
================
FEATURES:
- Support reloading configuration on SIGHUP.
BUG FIXES:
- Fix title underline and declaration after statement warnings.

4.10.1
================
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Building from source
====================

Ubuntu 20.04 LTS
*************
****************

First of all, we need our copy of the NSD code. `On our website
<https://nlnetlabs.nl/projects/nsd/about/>`_ you can find the latest version
Expand Down
6 changes: 4 additions & 2 deletions remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -2049,6 +2049,8 @@ void xfrd_reload_config(xfrd_state_type *xfrd)
{
const char *chrootdir = xfrd->nsd->chrootdir;
const char *file = xfrd->nsd->options->configfile;
region_type* region;
struct nsd_options* options;

if (chrootdir && !file_inside_chroot(file, chrootdir))
{
Expand All @@ -2058,8 +2060,8 @@ void xfrd_reload_config(xfrd_state_type *xfrd)
goto error_chroot;
}

region_type *region = region_create(xalloc, free);
struct nsd_options *options = nsd_options_create(region);
region = region_create(xalloc, free);
options = nsd_options_create(region);

if (!parse_options_file(
options, file, print_cfg_err, NULL, xfrd->nsd->options))
Expand Down

0 comments on commit bf7f505

Please sign in to comment.