[zaptel-commits] sruffell: branch sruffell/voicebus r3808 - /team/sruffell/voicebus/voicebus.c
SVN commits to the Zaptel project
zaptel-commits at lists.digium.com
Wed Feb 6 12:05:54 CST 2008
Author: sruffell
Date: Wed Feb 6 12:05:53 2008
New Revision: 3808
URL: http://svn.digium.com/view/zaptel?view=rev&rev=3808
Log:
Need to clear the buffers before passing it to handle_transmit since there
could be stale data from the receive side.
Modified:
team/sruffell/voicebus/voicebus.c
Modified: team/sruffell/voicebus/voicebus.c
URL: http://svn.digium.com/view/zaptel/team/sruffell/voicebus/voicebus.c?view=diff&rev=3808&r1=3807&r2=3808
==============================================================================
--- team/sruffell/voicebus/voicebus.c (original)
+++ team/sruffell/voicebus/voicebus.c Wed Feb 6 12:05:53 2008
@@ -527,11 +527,9 @@
{
void *vbb;
vbb = kmem_cache_alloc(vb->buffer_cache, VOICEBUS_ALLOC_FLAGS);
- /*!
if (vbb) {
memset(vbb, 0, vb->framesize);
}
- */
return vbb;
}
More information about the zaptel-commits
mailing list