* Remove reming usage of errno.

git-svn-id: trunk@5981 -
This commit is contained in:
daniel 2007-01-14 21:50:24 +00:00
parent f1067607b6
commit e47681ab0d

View File

@ -66,7 +66,7 @@ begin
end; end;
end; end;
if r=-1 then if r=-1 then
case errno of case socketerror of
EsockEBADF: EsockEBADF:
{ EsysENOTSOCK:} {Why is this constant not defined? (DM)} { EsysENOTSOCK:} {Why is this constant not defined? (DM)}
inoutres:=6; {Invalid file handle.} inoutres:=6; {Invalid file handle.}