Commit 024b9deb authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Updated the informal message to report the ip and port the http intf was

  started on. This will help ppl to actually use the thing ;)
parent 71bca56a
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* http.c : http remote control plugin for vlc * http.c : http remote control plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: http.c,v 1.7 2003/05/22 15:34:02 hartman Exp $ * $Id: http.c,v 1.8 2003/05/23 13:02:53 hartman Exp $
* *
* Authors: Gildas Bazin <gbazin@netcourrier.com> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* *
...@@ -163,7 +163,7 @@ static void Run( intf_thread_t *p_intf ) ...@@ -163,7 +163,7 @@ static void Run( intf_thread_t *p_intf )
p_intf->p_sys->p_httpd_host = p_intf->p_sys->p_httpd_host =
p_intf->p_sys->p_httpd->pf_register_host( p_intf->p_sys->p_httpd, p_intf->p_sys->p_httpd->pf_register_host( p_intf->p_sys->p_httpd,
psz_bind_addr, i_bind_port ); psz_bind_addr, i_bind_port );
if( !p_intf->p_sys->p_httpd_host ) if( !p_intf->p_sys->p_httpd_host )
{ {
msg_Err( p_intf, "cannot listen on %s:%d", psz_bind_addr, i_bind_port); msg_Err( p_intf, "cannot listen on %s:%d", psz_bind_addr, i_bind_port);
...@@ -172,7 +172,8 @@ static void Run( intf_thread_t *p_intf ) ...@@ -172,7 +172,8 @@ static void Run( intf_thread_t *p_intf )
return; return;
} }
msg_Info( p_intf, "http interface started" ); msg_Info( p_intf, "http interface started on %s:%d",
*psz_bind_addr ? psz_bind_addr : "localhost" , i_bind_port );
/* /*
* Register our interface page with the httpd daemon * Register our interface page with the httpd daemon
......
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