* Fix wrong read loop

This commit is contained in:
Michaël Van Canneyt 2021-09-03 17:40:46 +02:00
parent 2ce34f7bd3
commit 7ef2012151

View File

@ -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