Return error code that oskit understands. Fixes ftp upload.
authorGé van Geldorp <ge@gse.nl>
Thu, 22 Dec 2005 22:23:07 +0000 (22:23 +0000)
committerGé van Geldorp <ge@gse.nl>
Thu, 22 Dec 2005 22:23:07 +0000 (22:23 +0000)
svn path=/trunk/; revision=20305

reactos/drivers/lib/ip/transport/tcp/event.c

index 2634fb0..182f20a 100644 (file)
@@ -89,7 +89,7 @@ int TCPPacketSend(void *ClientData, OSK_PCHAR data, OSK_UINT len ) {
 
     if (NdisStatus != NDIS_STATUS_SUCCESS) {
        TI_DbgPrint(DEBUG_TCP, ("Error from NDIS: %08x\n", NdisStatus));
 
     if (NdisStatus != NDIS_STATUS_SUCCESS) {
        TI_DbgPrint(DEBUG_TCP, ("Error from NDIS: %08x\n", NdisStatus));
-       return STATUS_NO_MEMORY;
+       return OSK_ENOBUFS;
     }
 
     GetDataPtr( Packet.NdisPacket, MaxLLHeaderSize,
     }
 
     GetDataPtr( Packet.NdisPacket, MaxLLHeaderSize,