Commit e462e624 authored by Francois Cartegnie's avatar Francois Cartegnie

addons: fsstorage: strip scheme from catalog path

parent 15d4d417
...@@ -650,8 +650,9 @@ static int LoadCatalog( addons_finder_t *p_finder ) ...@@ -650,8 +650,9 @@ static int LoadCatalog( addons_finder_t *p_finder )
char *psz_filename = NULL; char *psz_filename = NULL;
int i_filetype = -1; int i_filetype = -1;
const char *psz_statpath = psz_path + 7; // + scheme
struct stat stat_; struct stat stat_;
if ( vlc_stat( psz_path, &stat_ ) ) if ( vlc_stat( psz_statpath, &stat_ ) )
{ {
free( psz_path ); free( psz_path );
return VLC_EGENERIC; return VLC_EGENERIC;
......
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