From 83545da85faef6c5447943266508a3de778ebaf5 Mon Sep 17 00:00:00 2001 From: "John Hodge (sonata)" Date: Sun, 20 Jan 2013 12:46:01 +0800 Subject: [PATCH] Modules/IPStack - (minor) Fixed return value of UDP channel write --- KernelLand/Modules/IPStack/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } /** -- 2.20.1