]> git.sesse.net Git - vlc/blobdiff - modules/control/http/http.c
* Fix non linux compilation round 2.
[vlc] / modules / control / http / http.c
index d3065f8c54dc005ed8e017a6672615cab3474004..08863cf4b185285afb61996459b7e13f5a170cd5 100644 (file)
@@ -290,7 +290,7 @@ static int Open( vlc_object_t *p_this )
 #if defined(__APPLE__) || defined(SYS_BEOS) || defined(WIN32)
     if ( ( psz_src = config_GetPsz( p_intf, "http-src" )) == NULL )
     {
-        char * psz_vlcpath = p_intf->p_libvlc_global->psz_vlcpath;
+        char * psz_vlcpath = vlc_path( p_intf );
         psz_src = malloc( strlen(psz_vlcpath) + strlen("/share/http" ) + 1 );
         if( !psz_src ) return VLC_ENOMEM;
 #if defined(WIN32)