{$include lcoreconfig.inc}\r
\r
uses\r
- {$ifndef win32}{$ifdef ipv6}sockets,{$endif}{$endif}\r
+{$ifndef win32}\r
+ sockets,\r
+{$endif}\r
pgtypes;\r
\r
{$ifdef fpc}\r
end;\r
end;\r
end;\r
+\r
+ {run length atleast 2 0 words}\r
+ if (runlength = 1) then begin\r
+ runlength := 0;\r
+ runbegin := 0;\r
+ end;\r
+\r
result := '';\r
for a := 0 to runbegin-1 do begin\r
if (a <> 0) then result := result + ':';\r