[svn-commits] mogorman: trunk r1737 - /trunk/zttranscode.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Dec 18 14:20:11 MST 2006


Author: mogorman
Date: Mon Dec 18 15:20:10 2006
New Revision: 1737

URL: http://svn.digium.com/view/zaptel?view=rev&rev=1737
Log:
John Sloan's fix for 64bit mode, but really I don't see how this code had worked before....

Modified:
    trunk/zttranscode.c

Modified: trunk/zttranscode.c
URL: http://svn.digium.com/view/zaptel/trunk/zttranscode.c?view=diff&rev=1737&r1=1736&r2=1737
==============================================================================
--- trunk/zttranscode.c (original)
+++ trunk/zttranscode.c Mon Dec 18 15:20:10 2006
@@ -270,9 +270,9 @@
 		origztc = (*ztc);
 		(*ztc) = newztc;
 		(*ztc)->tch = origztc->tch;
-		origztc->tch = NULL;
 		(*ztc)->flags |= (origztc->flags & ~(ZT_TC_FLAG_TRANSIENT));
 		ztc_release(origztc);
+		origztc->tch = NULL;
 	}
 
 	/* Actually reset the transcoder channel */



More information about the svn-commits mailing list