[asterisk-commits] murf: branch murf/bug11210 r103809 - /team/murf/bug11210/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Feb 19 09:42:54 CST 2008


Author: murf
Date: Tue Feb 19 09:42:53 2008
New Revision: 103809

URL: http://svn.digium.com/view/asterisk?view=rev&rev=103809
Log:
Comment out the REF_DEBUG define for testing, and fix a bizarre typo I somehow introduced.

Modified:
    team/murf/bug11210/channels/chan_iax2.c

Modified: team/murf/bug11210/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/team/murf/bug11210/channels/chan_iax2.c?view=diff&rev=103809&r1=103808&r2=103809
==============================================================================
--- team/murf/bug11210/channels/chan_iax2.c (original)
+++ team/murf/bug11210/channels/chan_iax2.c Tue Feb 19 09:42:53 2008
@@ -92,7 +92,7 @@
   might be crashes during the destruction of astobj2 objects, which could
   be a symptom of the object being destroyed multiple times.
 */
-#define  REF_DEBUG 1
+/* #define  REF_DEBUG 1 */
 #include "asterisk/astobj2.h"
 
 #include "iax2.h"
@@ -1593,7 +1593,7 @@
 
 static inline struct chan_iax2_pvt *call_ref(struct chan_iax2_pvt *call, char *tag)
 {
-	ao2_ref(user, +1);
+	ao2_ref(call, +1);
 	return call;
 }
 




More information about the asterisk-commits mailing list