[zaptel-commits] mattf: branch 1.4 r2406 - in /branches/1.4: ./
zaptel-base.c
zaptel-commits at lists.digium.com
zaptel-commits at lists.digium.com
Wed Apr 11 12:03:51 MST 2007
Author: mattf
Date: Wed Apr 11 14:03:50 2007
New Revision: 2406
URL: http://svn.digium.com/view/zaptel?view=rev&rev=2406
Log:
Merged revisions 2405 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2
........
r2405 | mattf | 2007-04-11 14:01:21 -0500 (Wed, 11 Apr 2007) | 4 lines
Fix buglet in memory corruption fix.
........
Modified:
branches/1.4/ (props changed)
branches/1.4/zaptel-base.c
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/zaptel-base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/zaptel-base.c?view=diff&rev=2406&r1=2405&r2=2406
==============================================================================
--- branches/1.4/zaptel-base.c (original)
+++ branches/1.4/zaptel-base.c Wed Apr 11 14:03:50 2007
@@ -1802,7 +1802,7 @@
chan->readidx[res] = 0;
chan->readn[res] = 0;
oldbuf = res;
- res = (chan->outreadbuf + 1) % chan->numbufs;
+ chan->outreadbuf = (res + 1) % chan->numbufs;
if (chan->outreadbuf == chan->inreadbuf) {
/* Out of stuff */
chan->outreadbuf = -1;
More information about the zaptel-commits
mailing list