mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-17 02:00:41 +01:00
* Fix compilation (bug id 34064) pending correct solution
git-svn-id: trunk@39535 -
This commit is contained in:
parent
962391621f
commit
487259fed2
@ -1108,11 +1108,11 @@ begin
|
|||||||
if Res < 0 then
|
if Res < 0 then
|
||||||
Err:=socketerror;
|
Err:=socketerror;
|
||||||
{$else}
|
{$else}
|
||||||
Err:=Res;
|
Err:=Res;
|
||||||
{$endif}
|
{$endif}
|
||||||
end;
|
end;
|
||||||
{$IFDEF HAVENONBLOCKING}
|
{$IFDEF HAVENONBLOCKING}
|
||||||
if (Err=ESysEINPROGRESS) and (ConnectTimeOut>0) then
|
if {(Err=ESysEINPROGRESS) and} (ConnectTimeOut>0) then
|
||||||
begin
|
begin
|
||||||
Res:=CheckSocketConnectTimeout(Handle, @FDS, @TimeV);
|
Res:=CheckSocketConnectTimeout(Handle, @FDS, @TimeV);
|
||||||
SetSocketBlockingMode(Handle, bmBlocking, @FDS);
|
SetSocketBlockingMode(Handle, bmBlocking, @FDS);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user