Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
c4c497c7
Commit
c4c497c7
authored
Sep 10, 2003
by
zorglub
Browse files
Removed useless stuff for icecast
parent
eb409d25
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/http.c
View file @
c4c497c7
...
...
@@ -2,7 +2,7 @@
* http.c: HTTP access plug-in
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: http.c,v 1.4
4
2003/09/10 1
3:39
:2
9
zorglub Exp $
* $Id: http.c,v 1.4
5
2003/09/10 1
5:50
:2
5
zorglub Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -731,8 +731,7 @@ static int Open( vlc_object_t *p_this )
p_access_data
->
socket_desc
.
i_ttl
=
0
;
snprintf
(
p_access_data
->
psz_buffer
,
MAX_QUERY_SIZE
,
"GET http://%s:%d/%s HTTP/1.0
\r\n
"
\
"Icy-Metadata:0
\r\n
"
,
"GET http://%s:%d/%s HTTP/1.0
\r\n
"
,
psz_server_addr
,
i_server_port
,
psz_path
);
}
else
...
...
@@ -744,8 +743,7 @@ static int Open( vlc_object_t *p_this )
p_access_data
->
socket_desc
.
i_ttl
=
0
;
snprintf
(
p_access_data
->
psz_buffer
,
MAX_QUERY_SIZE
,
"GET /%s HTTP/1.1
\r\n
Host: %s
\r\n
"
\
"Icy-Metadata:0
\r\n
"
,
"GET /%s HTTP/1.1
\r\n
Host: %s
\r\n
"
,
psz_path
,
psz_server_addr
);
}
p_access_data
->
psz_buffer
[
MAX_QUERY_SIZE
-
1
]
=
'\0'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment