]> git.sesse.net Git - vlc/commitdiff
Use DIR_SEP instead of /
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 17 Sep 2008 05:13:49 +0000 (22:13 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 17 Sep 2008 17:19:16 +0000 (10:19 -0700)
modules/control/http/http.c

index c6f2ddbdf2e551bb60e3315a0e84bc34f469f48d..d7c7f1c4740401c5820af71dd4826e736fac1599 100644 (file)
@@ -232,7 +232,7 @@ static int Open( vlc_object_t *p_this )
     if( ( psz_src == NULL ) || ( *psz_src == '\0' ) )
     {
         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;
     }