[svn-commits] kpfleming: branch 1.4 r3516 - /branches/1.4/zaptel-base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Dec 18 12:36:15 CST 2007


Author: kpfleming
Date: Tue Dec 18 12:36:14 2007
New Revision: 3516

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3516
Log:
even though it's not very logical, having a 'next sample' number of zero for a sample is valid, so restore the ability to set one

Modified:
    branches/1.4/zaptel-base.c

Modified: branches/1.4/zaptel-base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/zaptel-base.c?view=diff&rev=3516&r1=3515&r2=3516
==============================================================================
--- branches/1.4/zaptel-base.c (original)
+++ branches/1.4/zaptel-base.c Tue Dec 18 12:36:14 2007
@@ -2711,7 +2711,7 @@
 	}
 
 	for (x = 0; x < th.count; x++) {
-		if (samples[x] && next[x])
+		if (samples[x])
 			samples[x]->next = samples[next[x]];
 	}
 




More information about the svn-commits mailing list