mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-24 17:59:38 +03:00
socket.inc: fix for r2129
git-svn-id: svn://kolibrios.org@2147 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
a3388c45de
commit
eca36f7ef4
@ -766,8 +766,10 @@ proc socket_read_packet stdcall
|
|||||||
|
|
||||||
mov ebx, eax
|
mov ebx, eax
|
||||||
|
|
||||||
|
push ecx edx
|
||||||
lea ecx, [eax + SOCKET.lock]
|
lea ecx, [eax + SOCKET.lock]
|
||||||
call mutex_lock
|
call mutex_lock
|
||||||
|
pop edx ecx
|
||||||
|
|
||||||
mov eax, [ebx + SOCKET.rxDataCount] ; get count of bytes
|
mov eax, [ebx + SOCKET.rxDataCount] ; get count of bytes
|
||||||
test eax, eax ; if count of bytes is zero..
|
test eax, eax ; if count of bytes is zero..
|
||||||
|
Loading…
Reference in New Issue
Block a user