[asterisk-commits] russell: branch 1.4 r71003 - /branches/1.4/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 21 22:14:42 CDT 2007


Author: russell
Date: Thu Jun 21 22:14:41 2007
New Revision: 71003

URL: http://svn.digium.com/view/asterisk?view=rev&rev=71003
Log:
Fix a small typo which ... well ... completely broke chan_iax2.  oops!
(issue #9937, patch by me)

Modified:
    branches/1.4/channels/chan_iax2.c

Modified: branches/1.4/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_iax2.c?view=diff&rev=71003&r1=71002&r2=71003
==============================================================================
--- branches/1.4/channels/chan_iax2.c (original)
+++ branches/1.4/channels/chan_iax2.c Thu Jun 21 22:14:41 2007
@@ -6366,7 +6366,7 @@
 
 	len = sizeof(thread->iosin);
 	thread->iofd = fd;
-	thread->buf_len = recvfrom(fd, thread->readbuf, sizeof(thread->buf), 0, (struct sockaddr *) &thread->iosin, &len);
+	thread->buf_len = recvfrom(fd, thread->readbuf, sizeof(thread->readbuf), 0, (struct sockaddr *) &thread->iosin, &len);
 	thread->buf_size = sizeof(thread->readbuf);
 	thread->buf = thread->readbuf;
 	if (thread->buf_len < 0) {




More information about the asterisk-commits mailing list