]> 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)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 7 Mar 2024 14:18:40 +0000 (14:18 +0000)
commitdd90d4536f88aa629818fd4fa736972ce9763d83
tree36383ca72fe71d820b524ff004eaef035dbd463a
parente65c8cede5cc03344617cf08d123944e442e8975
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
(cherry picked from commit 874ee6e9aaadc9a0b5a5915d952c9f61e0967dbf)
main/manager.c