Browse Source

* Merging revisions 42978 from trunk:
------------------------------------------------------------------------
r42978 | michael | 2019-09-13 18:20:39 +0200 (Fri, 13 Sep 2019) | 1 line

* Fix some deprecated warnings
------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43255 -

michael 5 years ago
parent
commit
9acb68ee32
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;
 function TFPHTTPServerHandler.GetHostName: String;
 begin
 begin
-  Result:=FServer.HostName;
+  Result:=FServer.CertificateData.HostName;
 end;
 end;
 
 
 function TFPHTTPServerHandler.GetIdle: TNotifyEvent;
 function TFPHTTPServerHandler.GetIdle: TNotifyEvent;
@@ -404,7 +404,7 @@ end;
 
 
 procedure TFPHTTPServerHandler.SetHostName(AValue: String);
 procedure TFPHTTPServerHandler.SetHostName(AValue: String);
 begin
 begin
-  FServer.HostName:=aValue;
+  FServer.CertificateData.HostName:=aValue;
 end;
 end;
 
 
 procedure TFPHTTPServerHandler.SetIdle(AValue: TNotifyEvent);
 procedure TFPHTTPServerHandler.SetIdle(AValue: TNotifyEvent);