From 5acb64db842bf4273e190ef39d6af90759563850 Mon Sep 17 00:00:00 2001 From: Pierre Ynard Date: Wed, 5 May 2010 13:02:53 +0200 Subject: [PATCH] access_http: avoid passing NULL to printf %s --- modules/access/http.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/access/http.c b/modules/access/http.c index abb157f921..a23a2f80eb 100644 --- a/modules/access/http.c +++ b/modules/access/http.c @@ -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'", - 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 ) { msg_Dbg( p_access, " proxy %s:%d", p_sys->proxy.psz_host, -- 2.39.2