From: Kevin P. Fleming Date: Mon, 26 Oct 2009 22:04:04 +0000 (+0000) Subject: Fix building in REF_DEBUG mode. X-Git-Tag: 11.0.0-beta1~3973 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea8b54fb9dcd8adacf5caebc7190771064630b60;p=thirdparty%2Fasterisk.git Fix building in REF_DEBUG mode. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@225956 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 6cec8071e5..a8daf87bd7 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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