]> git.sesse.net Git - vlc/commitdiff
DVB: config_Get -> var_Inherit
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 30 Dec 2009 18:13:55 +0000 (20:13 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 30 Dec 2009 18:39:33 +0000 (20:39 +0200)
modules/access/dvb/http.c

index 46eae8199e2ab5ca729c0e3adeaa99415628c50a..6ea9d789b8e865cb846be540fe81bbf4da27cb16 100644 (file)
@@ -113,14 +113,14 @@ int HTTPOpen( access_t *p_access )
         return VLC_SUCCESS;
 
     /* 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 )
     {
         msg_Dbg( p_access, "enabling TLS for HTTP interface (cert file: %s)",
                  psz_cert );
-        psz_key = config_GetPsz( p_access, "dvb-http-intf-key" );
-        psz_ca = config_GetPsz( p_access, "dvb-http-intf-ca" );
-        psz_crl = config_GetPsz( p_access, "dvb-http-intf-crl" );
+        psz_key = var_InheritString( p_access, "dvb-http-intf-key" );
+        psz_ca = var_InheritString( p_access, "dvb-http-intf-ca" );
+        psz_crl = var_InheritString( p_access, "dvb-http-intf-crl" );
 
         if ( i_port <= 0 )
             i_port = 8443;