Commit in reactos/drivers/lib/oskittcp/oskittcp on MAIN | |||
interface.c | +3 | 1.8 -> 1.9 |
initialize fields that sosend() expects to have valid values
diff -u -r1.8 -r1.9 --- interface.c 20 Sep 2004 04:13:46 -0000 1.8 +++ interface.c 20 Sep 2004 15:47:03 -0000 1.9 @@ -257,6 +257,9 @@
mb.m_data = Data; mb.m_len = Len; mb.m_flags = M_EOR;
+ mb.m_pkthdr.len = Len; + mb.m_next = 0; + mb.m_nextpkt = 0;
error = sosend( socket, NULL, NULL /*&uio*/, (struct mbuf *)&mb, NULL, 0 ); /*printf("uio.uio_resid = %d\n", uio.uio_resid);*/ *OutLen = Len /*uio.uio_resid*/;