From db0d8872160b43b7d6005cd95a678e1ee1c29db0 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Fri, 14 Jun 2013 20:26:05 +0000 Subject: [PATCH] Return 0 in ebx when there is no error git-svn-id: svn://kolibrios.org@3659 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/network/socket.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/trunk/network/socket.inc b/kernel/trunk/network/socket.inc index 0fa79383ee..8a9bd1a9c9 100644 --- a/kernel/trunk/network/socket.inc +++ b/kernel/trunk/network/socket.inc @@ -256,6 +256,8 @@ macro SOCKET_init { align 4 sys_socket: + mov dword[esp+24], 0 ; Set error code to 0 + cmp ebx, 255 jz SOCKET_debug