Return 0 in ebx when there is no error

git-svn-id: svn://kolibrios.org@3659 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2013-06-14 20:26:05 +00:00
parent 0192ef785b
commit db0d887216

View File

@ -256,6 +256,8 @@ macro SOCKET_init {
align 4 align 4
sys_socket: sys_socket:
mov dword[esp+24], 0 ; Set error code to 0
cmp ebx, 255 cmp ebx, 255
jz SOCKET_debug jz SOCKET_debug