I very much hope that this is the last fix for r.2129. This revision makes me cry.
git-svn-id: svn://kolibrios.org@2208 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
9f80bde975
commit
4db1abbe76
@ -801,8 +801,9 @@ proc socket_read_packet stdcall
|
||||
|
||||
.exit:
|
||||
lea ecx, [ebx + SOCKET.lock]
|
||||
mov ebx,eax
|
||||
call mutex_unlock
|
||||
mov eax, edx
|
||||
mov eax,ebx
|
||||
ret ; at last, exit
|
||||
|
||||
.error:
|
||||
@ -814,8 +815,9 @@ proc socket_read_packet stdcall
|
||||
mov [ebx + SOCKET.rxDataCount], esi ; store new count (zero)
|
||||
call .start_copy
|
||||
lea ecx, [ebx + SOCKET.lock]
|
||||
mov ebx,eax
|
||||
call mutex_unlock
|
||||
mov eax, edx
|
||||
mov eax,ebx
|
||||
ret
|
||||
|
||||
.start_copy:
|
||||
|
Loading…
Reference in New Issue
Block a user