]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_monitor.c: Don't emit a warning about 'X' being unrecognized.
authorSean Bright <sean@seanbright.com>
Thu, 7 Mar 2024 17:27:12 +0000 (12:27 -0500)
committerSean Bright <sean@seanbright.com>
Mon, 11 Mar 2024 17:53:26 +0000 (17:53 +0000)
commit6938b7f96244b3a2559650316c90eea16fdeed30
treea25628403e1fc44ff8eba9c0f3013a6a5f04e433
parent755bf72329eb139df493139f94bc594dfeb1c32e
res_monitor.c: Don't emit a warning about 'X' being unrecognized.

Code was added in 030f7d41 to warn if an unrecognized option was
passed to an application, but code in Monitor was taking advantage of
the fact that the application would silently accept an invalid option.

We now recognize the invalid option but we don't do anything if it's
set.

Fixes #639
res/res_monitor.c