Browse Source

* Fix some deprecated warnings

git-svn-id: trunk@42978 -
michael 6 years ago
parent
commit
efdb976a12
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/fcl-web/src/base/custhttpapp.pp

+ 2 - 2
packages/fcl-web/src/base/custhttpapp.pp

@@ -369,7 +369,7 @@ end;
 
 function TFPHTTPServerHandler.GetHostName: String;
 begin
-  Result:=FServer.HostName;
+  Result:=FServer.CertificateData.HostName;
 end;
 
 function TFPHTTPServerHandler.GetIdle: TNotifyEvent;
@@ -404,7 +404,7 @@ end;
 
 procedure TFPHTTPServerHandler.SetHostName(AValue: String);
 begin
-  FServer.HostName:=aValue;
+  FServer.CertificateData.HostName:=aValue;
 end;
 
 procedure TFPHTTPServerHandler.SetIdle(AValue: TNotifyEvent);