[vlc-devel] commit: DVB: config_Get -> var_Inherit ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Dec 30 19:39:43 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Dec 30 20:13:55 2009 +0200| [884f8d976c3b666540b842387c835429ecfc6f7b] | committer: Rémi Denis-Courmont 

DVB: config_Get -> var_Inherit

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=884f8d976c3b666540b842387c835429ecfc6f7b
---

 modules/access/dvb/http.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/access/dvb/http.c b/modules/access/dvb/http.c
index 46eae81..6ea9d78 100644
--- a/modules/access/dvb/http.c
+++ b/modules/access/dvb/http.c
@@ -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;




More information about the vlc-devel mailing list