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

httpd_UrlNew*(): write warning to correct VLC object

parent 4919998c
...@@ -1238,7 +1238,7 @@ static httpd_url_t *httpd_UrlNewPrivate( httpd_host_t *host, const char *psz_url ...@@ -1238,7 +1238,7 @@ static httpd_url_t *httpd_UrlNewPrivate( httpd_host_t *host, const char *psz_url
{ {
if( !strcmp( psz_url, host->url[i]->psz_url ) ) if( !strcmp( psz_url, host->url[i]->psz_url ) )
{ {
msg_Warn( host->httpd, msg_Warn( host,
"cannot add '%s' (url already defined)", psz_url ); "cannot add '%s' (url already defined)", psz_url );
vlc_mutex_unlock( &host->lock ); vlc_mutex_unlock( &host->lock );
return NULL; return 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