[asterisk-commits] anthonyl: branch anthonyl/skinny-redux r48118 -
/team/anthonyl/skinny-redux/c...
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Nov 29 14:53:14 MST 2006
Author: anthonyl
Date: Wed Nov 29 15:53:13 2006
New Revision: 48118
URL: http://svn.digium.com/view/asterisk?view=rev&rev=48118
Log:
transmit response memcpy fix.
Modified:
team/anthonyl/skinny-redux/channels/chan_skinny.c
Modified: team/anthonyl/skinny-redux/channels/chan_skinny.c
URL: http://svn.digium.com/view/asterisk/team/anthonyl/skinny-redux/channels/chan_skinny.c?view=diff&rev=48118&r1=48117&r2=48118
==============================================================================
--- team/anthonyl/skinny-redux/channels/chan_skinny.c (original)
+++ team/anthonyl/skinny-redux/channels/chan_skinny.c Wed Nov 29 15:53:13 2006
@@ -1402,7 +1402,7 @@
memset(s->outbuf,0,sizeof(s->outbuf));
memcpy(s->outbuf, req, skinny_header_size);
- memcpy(s->outbuf+skinny_header_size, &req->data, sizeof(union skinny_data));
+ memcpy(s->outbuf+skinny_header_size, &req->data, letohl(req->len));
res = write(s->fd, s->outbuf, letohl(req->len)+8);
More information about the asterisk-commits
mailing list