mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 01:09:27 +02:00
* Fix wrong read loop
This commit is contained in:
parent
2ce34f7bd3
commit
7ef2012151
@ -1011,7 +1011,7 @@ begin
|
||||
end;
|
||||
P:=P+1;
|
||||
R:=1;
|
||||
While (L>=0) and (R>0) do
|
||||
While (L>0) and (R>0) do
|
||||
begin
|
||||
R:=FSocket.Read(S[p],L);
|
||||
If R<0 then
|
||||
|
Loading…
Reference in New Issue
Block a user