Commit e8150e43 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove unused ACL parameter of httpd_StreamNew()

parent 3a4e084c
......@@ -124,7 +124,7 @@ VLC_API httpd_redirect_t * httpd_RedirectNew( httpd_host_t *, const char *psz_ur
VLC_API void httpd_RedirectDelete( httpd_redirect_t * );
VLC_API httpd_stream_t * httpd_StreamNew( httpd_host_t *, const char *psz_url, const char *psz_mime, const char *psz_user, const char *psz_password, const vlc_acl_t *p_acl ) VLC_USED;
VLC_API httpd_stream_t * httpd_StreamNew( httpd_host_t *, const char *psz_url, const char *psz_mime, const char *psz_user, const char *psz_password ) VLC_USED;
VLC_API void httpd_StreamDelete( httpd_stream_t * );
VLC_API int httpd_StreamHeader( httpd_stream_t *, uint8_t *p_data, int i_data );
VLC_API int httpd_StreamSend( httpd_stream_t *, uint8_t *p_data, int i_data );
......
......@@ -212,7 +212,7 @@ static int Open( vlc_object_t *p_this )
p_sys->p_httpd_stream =
httpd_StreamNew( p_sys->p_httpd_host, path, psz_mime,
psz_user, psz_pwd, NULL );
psz_user, psz_pwd );
free( psz_user );
free( psz_pwd );
free( psz_mime );
......
......@@ -156,11 +156,10 @@ int httpd_StreamHeader (httpd_stream_t *stream, uint8_t *data, int count)
httpd_stream_t *httpd_StreamNew (httpd_host_t *host,
const char *url, const char *content_type,
const char *login, const char *password,
const vlc_acl_t *acl)
const char *login, const char *password)
{
(void) host; (void) url; (void) content_type;
(void) login; (void) password; (void) acl;
(void) login; (void) password;
assert (0);
}
......
......@@ -848,13 +848,12 @@ static int httpd_StreamCallBack( httpd_callback_sys_t *p_sys,
httpd_stream_t *httpd_StreamNew( httpd_host_t *host,
const char *psz_url, const char *psz_mime,
const char *psz_user, const char *psz_password,
const vlc_acl_t *p_acl )
const char *psz_user, const char *psz_password )
{
httpd_stream_t *stream = xmalloc( sizeof( httpd_stream_t ) );
stream->url = httpd_UrlNewPrivate( host, psz_url, psz_user, psz_password,
p_acl );
NULL );
if( stream->url == NULL )
{
free( stream );
......
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