Fix a small typo which ... well ... completely broke chan_iax2. oops!

(issue #9937, patch by me)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@71003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Russell Bryant 18 years ago
parent b13f79ad5b
commit 5fb99cbf73

@ -6366,7 +6366,7 @@ static int socket_read(int *id, int fd, short events, void *cbdata)
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) {

Loading…
Cancel
Save