Fix building in REF_DEBUG mode.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@225956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
certified/1.8.6
Kevin P. Fleming 16 years ago
parent ad7a9fb8e8
commit ea8b54fb9d

@ -1896,7 +1896,7 @@ static struct ao2_container *dialogs;
static struct sip_pvt *dialog_ref_debug(struct sip_pvt *p, char *tag, char *file, int line, const char *func)
{
if (p)
_ao2_ref_debug(p, 1, tag, file, line, func);
__ao2_ref_debug(p, 1, tag, file, line, func);
else
ast_log(LOG_ERROR, "Attempt to Ref a null pointer\n");
return p;
@ -1905,7 +1905,7 @@ static struct sip_pvt *dialog_ref_debug(struct sip_pvt *p, char *tag, char *file
static struct sip_pvt *dialog_unref_debug(struct sip_pvt *p, char *tag, char *file, int line, const char *func)
{
if (p)
_ao2_ref_debug(p, -1, tag, file, line, func);
__ao2_ref_debug(p, -1, tag, file, line, func);
return NULL;
}
#else

Loading…
Cancel
Save