mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 07:05:59 +02:00
* should now also ignore comment starting with ; (bug 45something)
git-svn-id: trunk@1720 -
This commit is contained in:
parent
59d3cd95a8
commit
2765cc28bc
@ -209,7 +209,13 @@ begin
|
||||
Readln(R,L);
|
||||
I:=Pos('#',L);
|
||||
If (I<>0) then
|
||||
L:=Copy(L,1,I-1);
|
||||
L:=Copy(L,1,I-1)
|
||||
else
|
||||
begin
|
||||
I:=Pos(';',L);
|
||||
If (I<>0) then
|
||||
L:=Copy(L,1,I-1)
|
||||
end;
|
||||
If CheckDirective('nameserver') then
|
||||
begin
|
||||
H:=HostToNet(StrToHostAddr(L));
|
||||
|
Loading…
Reference in New Issue
Block a user