From: John Hodge (sonata) Date: Sun, 20 Jan 2013 04:46:01 +0000 (+0800) Subject: Modules/IPStack - (minor) Fixed return value of UDP channel write X-Git-Tag: rel0.15~598^2~31 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=83545da85faef6c5447943266508a3de778ebaf5;p=tpg%2Facess2.git Modules/IPStack - (minor) Fixed return value of UDP channel write --- diff --git a/KernelLand/Modules/IPStack/udp.c b/KernelLand/Modules/IPStack/udp.c index 1d805692..ae3806b4 100644 --- a/KernelLand/Modules/IPStack/udp.c +++ b/KernelLand/Modules/IPStack/udp.c @@ -268,7 +268,7 @@ size_t UDP_Channel_Write(tVFS_Node *Node, off_t Offset, size_t Length, const voi UDP_SendPacketTo(chan, ep->AddrType, &ep->Addr, ep->Port, data, (size_t)Length - ofs); - return 0; + return Length; } /**