[vlc-devel] commit: Fix comparison that meant to be an assignment ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Aug 31 14:23:32 CEST 2008


vlc | branch: 0.8.6-bugfix | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Aug 31 15:26:23 2008 +0300| [72cb48b1030d8f6cd5898a68d430f9233d11d886] | committer: Rémi Denis-Courmont 

Fix comparison that meant to be an assignment

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

 modules/control/http/rpn.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/control/http/rpn.c b/modules/control/http/rpn.c
index 60613d8..0638f7f 100644
--- a/modules/control/http/rpn.c
+++ b/modules/control/http/rpn.c
@@ -985,7 +985,7 @@ void E_(EvaluateRPN)( intf_thread_t *p_intf, mvar_t  *vars,
                     psz_val = vlc_input_item_GetInfo( p_item,
                                 _(VLC_META_INFO_CAT), _(VLC_META_TITLE) );
                     if( psz_val == NULL )
-                        psz_val == strdup( p_item->psz_name );
+                        psz_val = strdup( p_item->psz_name );
                 }
                 else if( !strcmp( psz_meta, "ALBUM" ) )
                 {




More information about the vlc-devel mailing list