summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2013-02-14 03:49:52 +0000
committerMatthew Jordan <mjordan@digium.com>2013-02-14 03:49:52 +0000
commit6b4d628afd5c9acf805a3e0f9602c782b2ab485e (patch)
treec14c735bf7b45f33bf744ae90c1d891f424a26f6 /include/asterisk
parent222e8a3afb6aabb31052fe76fa4f57fe26f69688 (diff)
Don't throw a spurious error when using DBdeltree
The function call ast_db_deltree returns the number of row deleted, or a negative number if it failed. DBdeltree was treating any non-zero return as an error, causing a spurious verbose error message to be displayed. This patch handles the return code of ast_db_deltree correctly. (closes issue ASTERISK-21070) Reported by: ianc patches: dbdeltree.diff uploaded by ianc (License #5955) ........ Merged revisions 381364 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 381365 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@381366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
0 files changed, 0 insertions, 0 deletions