Commit 5acb64db authored by Pierre Ynard's avatar Pierre Ynard

access_http: avoid passing NULL to printf %s

parent 18859963
...@@ -482,7 +482,8 @@ static int OpenWithCookies( vlc_object_t *p_this, const char *psz_access, ...@@ -482,7 +482,8 @@ static int OpenWithCookies( vlc_object_t *p_this, const char *psz_access,
} }
msg_Dbg( p_access, "http: server='%s' port=%d file='%s'", 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.i_port,
p_sys->url.psz_path != NULL ? p_sys->url.psz_path : "" );
if( p_sys->b_proxy ) if( p_sys->b_proxy )
{ {
msg_Dbg( p_access, " proxy %s:%d", p_sys->proxy.psz_host, msg_Dbg( p_access, " proxy %s:%d", p_sys->proxy.psz_host,
......
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