[Asterisk-cvs] asterisk/channels chan_skinny.c,1.67,1.68

markster at lists.digium.com markster at lists.digium.com
Sun Mar 13 19:09:47 CST 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv7953/channels

Modified Files:
	chan_skinny.c 
Log Message:
Record read size


Index: chan_skinny.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_skinny.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- chan_skinny.c	4 Mar 2005 06:47:24 -0000	1.67
+++ chan_skinny.c	14 Mar 2005 01:05:34 -0000	1.68
@@ -2623,6 +2623,7 @@
 		dlen = *(int *)s->inbuf;
 		if (dlen+8 > sizeof(s->inbuf))
 			dlen = sizeof(s->inbuf) - 8;
+		*(int *)s->inbuf = dlen;
 		res = read(s->fd, s->inbuf+4, dlen+4);
 		ast_mutex_unlock(&s->lock);
 		if (res != (dlen+4)) {




More information about the svn-commits mailing list