]> 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:12 +0000 (18:57 +0000)
commit57bb985b26cb2eade3d9a2a8578a7d354e6affce
treea656f4a384088dd69e336a626db27b42d6b5535e
parentd1da98514347aacebe61a7d0c75295e4a294a6e7
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