Fix building in REF_DEBUG mode.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@225956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2009-10-26 22:04:04 +00:00
parent ad7a9fb8e8
commit ea8b54fb9d
+2 -2
View File
@@ -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