[asterisk-dev] [Code Review] 3573: [main/config.c] AMI action UpdateConfig EmptyCat clears all categories but the requested one

zvision reviewboard at asterisk.org
Fri May 30 06:51:06 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3573/
-----------------------------------------------------------

(Updated May 30, 2014, 6:51 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 414880


Bugs: ASTERISK-23803
    https://issues.asterisk.org/jira/browse/ASTERISK-23803


Repository: Asterisk


Description
-------

When invoking UpdateConfig AMI action with Action set to EmptyCat, the manager make all categories empty in the config but the one requested with a Cat variable. This is due to a bug in ast_category_empty (main/config.c) that makes incorrect comparison for a category name.


Diffs
-----

  http://svn.asterisk.org/svn/asterisk/branches/11/main/config.c 414808 

Diff: https://reviewboard.asterisk.org/r/3573/diff/


Testing
-------

Tested by me.


Thanks,

zvision

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140530/28ae6782/attachment.html>


More information about the asterisk-dev mailing list