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

svn-commits at lists.digium.com svn-commits at lists.digium.com
Fri Dec 22 13:42:16 MST 2006


Author: mogorman
Date: Fri Dec 22 14:42:15 2006
New Revision: 1760

URL: http://svn.digium.com/view/zaptel?view=rev&rev=1760
Log:
reverting previous change, somehow the previous patch was incomplete.


Modified:
    trunk/zttranscode.c

Modified: trunk/zttranscode.c
URL: http://svn.digium.com/view/zaptel/trunk/zttranscode.c?view=diff&rev=1760&r1=1759&r2=1760
==============================================================================
--- trunk/zttranscode.c (original)
+++ trunk/zttranscode.c Fri Dec 22 14:42:15 2006
@@ -272,9 +272,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