mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 09:19:23 +02:00
fcl-net: comment: TInetServer.SockToStream should be using TServerSocketStream
This commit is contained in:
parent
21b135a6ec
commit
5271d19585
@ -1269,6 +1269,9 @@ Var
|
||||
begin
|
||||
H:=GetClientSocketHandler(aSocket);
|
||||
aClass:=DefaultInetSocketClass;
|
||||
|
||||
// Should be: Result:=TServerSocketStream.Create(ASocket,H);
|
||||
|
||||
if aClass=Nil then
|
||||
aClass:=TInetSocket;
|
||||
Result:=aClass.Create(ASocket,H);
|
||||
|
Loading…
Reference in New Issue
Block a user