Commit 884f8d97 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

DVB: config_Get -> var_Inherit

parent 667fa456
...@@ -113,14 +113,14 @@ int HTTPOpen( access_t *p_access ) ...@@ -113,14 +113,14 @@ int HTTPOpen( access_t *p_access )
return VLC_SUCCESS; return VLC_SUCCESS;
/* determine SSL configuration */ /* determine SSL configuration */
psz_cert = var_GetNonEmptyString( p_access, "dvb-http-intf-cert" ); psz_cert = var_InheritString( p_access, "dvb-http-intf-cert" );
if ( psz_cert != NULL ) if ( psz_cert != NULL )
{ {
msg_Dbg( p_access, "enabling TLS for HTTP interface (cert file: %s)", msg_Dbg( p_access, "enabling TLS for HTTP interface (cert file: %s)",
psz_cert ); psz_cert );
psz_key = config_GetPsz( p_access, "dvb-http-intf-key" ); psz_key = var_InheritString( p_access, "dvb-http-intf-key" );
psz_ca = config_GetPsz( p_access, "dvb-http-intf-ca" ); psz_ca = var_InheritString( p_access, "dvb-http-intf-ca" );
psz_crl = config_GetPsz( p_access, "dvb-http-intf-crl" ); psz_crl = var_InheritString( p_access, "dvb-http-intf-crl" );
if ( i_port <= 0 ) if ( i_port <= 0 )
i_port = 8443; i_port = 8443;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment