]> git.ipfire.org Git - thirdparty/asterisk.git/commit
manager.c: Fix erroneous reloads in UpdateConfig.
authorNaveen Albert <asterisk@phreaknet.org>
Thu, 25 Jan 2024 17:44:29 +0000 (12:44 -0500)
committerNaveen Albert <asterisk@phreaknet.org>
Tue, 30 Jan 2024 18:57:15 +0000 (18:57 +0000)
commitd50d981543006d2e076c09e396b25a1ebf0837fb
tree160091c589dad35f0e7edf614f62ae0a7d0ed253
parent8eb6a329d63022cc2a9b7660e79d46da1c3c3621
manager.c: Fix erroneous reloads in UpdateConfig.

Currently, a reload will always occur if the
Reload header is provided for the UpdateConfig
action. However, we should not be doing a reload
if the header value has a falsy value, per the
documentation, so this makes the reload behavior
consistent with the existing documentation.

Resolves: #551
main/manager.c