* Length comparison

This commit is contained in:
Michaël Van Canneyt 2023-08-06 10:47:20 +02:00
parent 8539a8b727
commit b1179dd872

View File

@ -300,7 +300,7 @@ begin
SetLength(Authority, i - 1);
// Extract username and password
if Authority <> '' then
if Length(Authority)>0 then
begin
i := Pos(':', Authority);
if i = 0 then