From 66b4033b2f889195a3ef428986d2438cd6e4f994 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= <funman@videolan.org>
Date: Thu, 30 Aug 2007 00:50:10 +0000
Subject: [PATCH] Converting a string for using it in xml without using it is
 STUPID

---
 modules/misc/playlist/xspf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/misc/playlist/xspf.c b/modules/misc/playlist/xspf.c
index 130b6421c483..df7ada08018c 100644
--- a/modules/misc/playlist/xspf.c
+++ b/modules/misc/playlist/xspf.c
@@ -253,7 +253,7 @@ static void xspf_extension_item( playlist_item_t *p_item, FILE *p_file,
         char *psz_temp;
         psz_temp = convert_xml_special_chars( p_item->p_input->psz_name );
         fprintf( p_file, "\t\t<node title=\"%s\">\n",
-                 *psz_temp ? p_item->p_input->psz_name : "" );
+                 *psz_temp ? psz_temp : "" );
         free( psz_temp );
 
         for( i = 0; i < p_item->i_children; i++ )
-- 
GitLab