]> git.sesse.net Git - vlc/commitdiff
Fix [22070] not creating the http-host variable. Closes #1449.
authorRémi Denis-Courmont <rem@videolan.org>
Wed, 23 Jan 2008 17:36:56 +0000 (17:36 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Wed, 23 Jan 2008 17:36:56 +0000 (17:36 +0000)
modules/control/http/http.c

index 1738d9cd340bf6b0c095f8639f04bd07356c2c10..fb39ea788442feca44d69ba7ac4b1d8ec143a9ba 100644 (file)
@@ -132,7 +132,7 @@ static int Open( vlc_object_t *p_this )
     int           i_port       = 0;
     char          *psz_src = NULL;
 
-    psz_address = var_GetNonEmptyString(p_intf->p_libvlc, "http-host");
+    psz_address = var_CreateGetNonEmptyString( p_intf, "http-host" );
     if( psz_address != NULL )
     {
         char *psz_parser = strchr( psz_address, ':' );