Commit 2613a857 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Use DIR_SEP instead of /

(cherry picked from commit 747d3d9fa7f686f2edb04f58bee2a54ea0797c19)
parent 6af3f923
...@@ -232,7 +232,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -232,7 +232,7 @@ static int Open( vlc_object_t *p_this )
if( ( psz_src == NULL ) || ( *psz_src == '\0' ) ) if( ( psz_src == NULL ) || ( *psz_src == '\0' ) )
{ {
const char *data_path = config_GetDataDir (); const char *data_path = config_GetDataDir ();
if( asprintf( &psz_src, "%s/http", data_path ) == -1 ) if( asprintf( &psz_src, "%s" DIR_SEP "http", data_path ) == -1 )
psz_src = NULL; psz_src = NULL;
} }
......
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