From ec8fd6714d3f82f3ef3f3f53c0c93285dd7470fe Mon Sep 17 00:00:00 2001 From: George Joseph Date: Fri, 5 Feb 2016 09:29:00 -0700 Subject: chan_misdn: Fix a few issues causing compile errors Change-Id: I54b48c24d7ca88ed80496fdfd142d08772a7ab98 --- channels/chan_misdn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'channels/chan_misdn.c') diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c index ae8bcd7b8..d1e55679e 100644 --- a/channels/chan_misdn.c +++ b/channels/chan_misdn.c @@ -369,8 +369,8 @@ struct hold_info { int channel; }; -#define chan_list_ref(obj, debug) (ao2_t_ref((obj), +1, (debug)), (obj)) -#define chan_list_unref(obj, debug) (ao2_t_ref((obj), -1, (debug)), NULL) +#define chan_list_ref(obj, debug) ao2_t_ref((obj), +1, (debug)) +#define chan_list_unref(obj, debug) ao2_t_ref((obj), -1, (debug)) /*! * \brief Channel call record structure -- cgit v1.2.3