From 292477fb7c3411e899cea0ba68c0e6cd69c791d9 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Mon, 7 Nov 2011 22:36:05 +0000 Subject: [PATCH] More of the same git-svn-id: svn://kolibrios.org@2303 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/branches/net/network/socket.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kernel/branches/net/network/socket.inc b/kernel/branches/net/network/socket.inc index ccd902906b..2983e1c6f6 100644 --- a/kernel/branches/net/network/socket.inc +++ b/kernel/branches/net/network/socket.inc @@ -631,7 +631,7 @@ SOCKET_accept: mov eax, [esi] call SOCKET_ptr_to_num jz s_error - mov dword [esp+32], eax + mov [esp+32], eax ret @@ -725,7 +725,7 @@ SOCKET_receive_dgram: push [esi + socket_queue_entry.buf_ptr] ; save the buffer addr so we can clear it later mov esi, [esi + socket_queue_entry.data_ptr] DEBUGF 1,"Source buffer: %x, real addr: %x\n", [esp], esi - mov dword[esp+32+4], ecx ; return number of bytes copied + mov [esp+32+4], ecx ; return number of bytes copied ; copy the data shr ecx, 1 @@ -760,7 +760,7 @@ SOCKET_receive_tcp: call SOCKET_ring_read call SOCKET_ring_free - mov dword[esp+32], ecx ; return number of bytes copied + mov [esp+32], ecx ; return number of bytes copied ret @@ -798,7 +798,7 @@ SOCKET_send_udp: call UDP_output - mov dword [esp+32], 0 + mov [esp+32], eax ret @@ -835,7 +835,7 @@ SOCKET_send_icmp: call ICMP_output_raw - mov dword [esp+32], 0 + mov [esp+32], eax ret @@ -1058,7 +1058,7 @@ SOCKET_input: DEBUGF 1,"SOCKET_input: socket=%x, data=%x size=%u\n", eax, esi, ecx - mov dword[esp+4], ecx + mov [esp+4], ecx push esi mov esi, esp