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

Accept NULL hostname for httpd_HostNew

parent bdbb3412
......@@ -901,6 +901,9 @@ httpd_host_t *httpd_TLSHostNew( vlc_object_t *p_this, const char *psz_hostname,
vlc_value_t lockval;
int i;
if( psz_hostname == NULL )
psz_hostname = "";
psz_host = strdup( psz_hostname );
if( psz_host == NULL )
{
......
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