mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 05:49:12 +02:00
* Some fixes for the case of inexact matches
git-svn-id: trunk@12283 -
This commit is contained in:
parent
c8467353ea
commit
e9976b6ced
@ -520,10 +520,11 @@ begin
|
|||||||
Result:=1;
|
Result:=1;
|
||||||
Exit;
|
Exit;
|
||||||
end
|
end
|
||||||
else if (CmdRes<>210) then
|
else if not (CmdRes in [210,211]) then
|
||||||
Raise ECDDBParser.CreateFmt(SerrCDDBResponse,[L]);
|
Raise ECDDBParser.CreateFmt(SerrCDDBResponse,[L]);
|
||||||
end;
|
end;
|
||||||
For I:=Ord(WithHeader) to Response.Count-1 do
|
For I:=Ord(WithHeader or (CMDRes=211)) to Response.Count-1 do
|
||||||
|
If (Response[i]<>'.') then
|
||||||
begin
|
begin
|
||||||
SplitQueryResponse(Response[i],C,D,T,P);
|
SplitQueryResponse(Response[i],C,D,T,P);
|
||||||
Matches.AddMatch(D,C,T,P);
|
Matches.AddMatch(D,C,T,P);
|
||||||
|
Loading…
Reference in New Issue
Block a user