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