Menuselect: Fix incorrect enabling on failed deps
authorKinsey Moore <kmoore@digium.com>
Fri, 5 Sep 2014 13:29:38 +0000 (13:29 +0000)
committerKinsey Moore <kmoore@digium.com>
Fri, 5 Sep 2014 13:29:38 +0000 (13:29 +0000)
commit2362d88a18678afffda915d94e452b7e9e4d03d3
tree538ac981ec216f631399d33ad37953d5eceb418a
parentaf75e45da13d1cead68c110eb122080018a9996f
Menuselect: Fix incorrect enabling on failed deps

This corrects a situation where menuselect can incorrectly enable a
module by default that has defaultenabled set to "no" and has
failed/non-selected dependencies. The bug is due to an inverted test
when checking for whether the given module should be set to enabled by
default on load.

Review: https://reviewboard.asterisk.org/r/3975/
Reported by: John Bigelow
........

Merged revisions 422646 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@422647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
menuselect/menuselect.c