summaryrefslogtreecommitdiff
path: root/channels/chan_misdn.c
diff options
context:
space:
mode:
authorGeorge Joseph <george.joseph@fairview5.com>2016-02-05 09:29:00 -0700
committerGeorge Joseph <george.joseph@fairview5.com>2016-02-05 11:58:26 -0600
commitec8fd6714d3f82f3ef3f3f53c0c93285dd7470fe (patch)
tree420ba5aed46bdb0d9f9cad4ee8887ec6184656d9 /channels/chan_misdn.c
parent1fca22453335fe791073ce0f4c3a4ba62c196b21 (diff)
chan_misdn: Fix a few issues causing compile errors
Change-Id: I54b48c24d7ca88ed80496fdfd142d08772a7ab98
Diffstat (limited to 'channels/chan_misdn.c')
-rw-r--r--channels/chan_misdn.c4
1 files changed, 2 insertions, 2 deletions
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