forked from KolibriOS/kolibrios
PID fix for SOCKET_pair function.
git-svn-id: svn://kolibrios.org@3261 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
b30a061ac1
commit
67f8bac00f
@ -1149,6 +1149,7 @@ SOCKET_pair:
|
|||||||
mov [eax + SOCKET.Protocol], 0 ;;; CHECKME
|
mov [eax + SOCKET.Protocol], 0 ;;; CHECKME
|
||||||
mov [eax + SOCKET.snd_proc], SOCKET_send_local
|
mov [eax + SOCKET.snd_proc], SOCKET_send_local
|
||||||
mov [eax + SOCKET.rcv_proc], SOCKET_receive_local
|
mov [eax + SOCKET.rcv_proc], SOCKET_receive_local
|
||||||
|
mov [eax + SOCKET.PID], 0
|
||||||
mov ebx, eax
|
mov ebx, eax
|
||||||
|
|
||||||
call SOCKET_alloc
|
call SOCKET_alloc
|
||||||
@ -1160,6 +1161,7 @@ SOCKET_pair:
|
|||||||
mov [eax + SOCKET.Protocol], 0 ;;; CHECKME
|
mov [eax + SOCKET.Protocol], 0 ;;; CHECKME
|
||||||
mov [eax + SOCKET.snd_proc], SOCKET_send_local
|
mov [eax + SOCKET.snd_proc], SOCKET_send_local
|
||||||
mov [eax + SOCKET.rcv_proc], SOCKET_receive_local
|
mov [eax + SOCKET.rcv_proc], SOCKET_receive_local
|
||||||
|
mov [eax + SOCKET.PID], 0
|
||||||
|
|
||||||
; Link the two sockets to eachother
|
; Link the two sockets to eachother
|
||||||
mov [eax + SOCKET.device], ebx
|
mov [eax + SOCKET.device], ebx
|
||||||
|
Loading…
Reference in New Issue
Block a user