[vlc-devel] [PATCH] http/openwithcookies segfault
Francois Cartegnie
fcvlcdev at free.fr
Thu Apr 15 23:15:03 CEST 2010
---
modules/access/http.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/modules/access/http.c b/modules/access/http.c
index 3fb72e5..4cdbdaf 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -482,7 +482,9 @@ static int OpenWithCookies( vlc_object_t *p_this, const char *psz_access,
}
msg_Dbg( p_access, "http: server='%s' port=%d file='%s",
- p_sys->url.psz_host, p_sys->url.i_port, p_sys->url.psz_path );
+ p_sys->url.psz_host ? p_sys->url.psz_host : "(null)",
+ p_sys->url.i_port,
+ p_sys->url.psz_path ? p_sys->url.psz_path : "(null)" );
if( p_sys->b_proxy )
{
msg_Dbg( p_access, " proxy %s:%d", p_sys->proxy.psz_host,
--
1.6.4.4
More information about the vlc-devel
mailing list