Ensure that the number of added contacts never goes below 0.
authorJoshua Colp <jcolp@digium.com>
Fri, 14 Jun 2013 21:57:31 +0000 (21:57 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 14 Jun 2013 21:57:31 +0000 (21:57 +0000)
commit671d7e62c799240989b00ebdd6b60a1dc37d019d
treea1bf4c1f27ba11a5ee051a4838827fc6e49a19e8
parentb5a10ad9728078826a466c9765b2da6883dbd115
Ensure that the number of added contacts never goes below 0.

This can happen when a REGISTER request is removing a contact.

(closes issue ASTERISK-21911)
Reported by: mdavenport

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