git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0570f38
)
Use DIR_SEP instead of /
author
Jean-Baptiste Kempf
<jb@videolan.org>
Wed, 17 Sep 2008 05:13:49 +0000
(22:13 -0700)
committer
Jean-Baptiste Kempf
<jb@videolan.org>
Wed, 17 Sep 2008 17:19:16 +0000
(10:19 -0700)
modules/control/http/http.c
patch
|
blob
|
history
diff --git
a/modules/control/http/http.c
b/modules/control/http/http.c
index
c6f2ddb
..
d7c7f1c
100644
(file)
--- a/
modules/control/http/http.c
+++ b/
modules/control/http/http.c
@@
-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;
}