Commit 2629077d authored by Pierre Ynard's avatar Pierre Ynard

access_http: avoid passing NULL to printf %s

(cherry picked from commit 5acb64db842bf4273e190ef39d6af90759563850)
Signed-off-by: default avatarPierre Ynard <linkfanel@yahoo.fr>
parent d1f281c4
...@@ -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