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

Fix [22070] not creating the http-host variable. Closes #1449.

parent c6245fff
...@@ -132,7 +132,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -132,7 +132,7 @@ static int Open( vlc_object_t *p_this )
int i_port = 0; int i_port = 0;
char *psz_src = NULL; char *psz_src = NULL;
psz_address = var_GetNonEmptyString(p_intf->p_libvlc, "http-host"); psz_address = var_CreateGetNonEmptyString( p_intf, "http-host" );
if( psz_address != NULL ) if( psz_address != NULL )
{ {
char *psz_parser = strchr( psz_address, ':' ); char *psz_parser = strchr( psz_address, ':' );
......
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