[vlc-devel] commit: rtsp: Feed a litteral to the format to kill a warning. (Pierre d' Herbemont )

git version control git at videolan.org
Thu Aug 20 19:01:34 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Aug 20 18:58:22 2009 +0200| [5c660e79f3df9487d788e5e5c389f06e266e7d7f] | committer: Pierre d'Herbemont 

rtsp: Feed a litteral to the format to kill a warning.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5c660e79f3df9487d788e5e5c389f06e266e7d7f
---

 modules/access/rtsp/access.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/rtsp/access.c b/modules/access/rtsp/access.c
index 8c3ac01..09026d2 100644
--- a/modules/access/rtsp/access.c
+++ b/modules/access/rtsp/access.c
@@ -235,7 +235,7 @@ static int Open( vlc_object_t *p_this )
 
 
             msg_Err( p_access, "rtsp session can not be established" );
-            dialog_Fatal( p_access, _("Session failed"),
+            dialog_Fatal( p_access, _("Session failed"), "%s",
                     _("The requested RTSP session could not be established.") );
             goto error;
         }




More information about the vlc-devel mailing list