[vlc-commits] httpd_UrlNew*(): write warning to correct VLC object

Rémi Denis-Courmont git at videolan.org
Sun Sep 25 17:36:35 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Sep 25 18:36:09 2011 +0300| [9a391eb0083b9ec8e14d1a9e7b59ee43039edd6b] | committer: Rémi Denis-Courmont

httpd_UrlNew*(): write warning to correct VLC object

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9a391eb0083b9ec8e14d1a9e7b59ee43039edd6b
---

 src/network/httpd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/network/httpd.c b/src/network/httpd.c
index fee6e7c..2b428ce 100644
--- a/src/network/httpd.c
+++ b/src/network/httpd.c
@@ -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 ) )
             {
-                msg_Warn( host->httpd,
+                msg_Warn( host,
                           "cannot add '%s' (url already defined)", psz_url );
                 vlc_mutex_unlock( &host->lock );
                 return NULL;



More information about the vlc-commits mailing list