[vlc-commits] commit: HTTP interface: fix ! operator (fix #3768) ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Wed Jun 23 07:01:10 CEST 2010


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jun 23 07:56:07 2010 +0300| [5ce90c263d0e8d49417a5e752b01572bf2afa5d6] | committer: Rémi Denis-Courmont 

HTTP interface: fix ! operator (fix #3768)

(cherry picked from commit 15745ba514210fdbb557124dcde5d398e41a03ce)

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

 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 7d31622..320a4ff 100644
--- a/modules/control/http/rpn.c
+++ b/modules/control/http/rpn.c
@@ -164,7 +164,7 @@ void EvaluateRPN( intf_thread_t *p_intf, mvar_t  *vars,
         /* 1. Integer function */
         if( !strcmp( s, "!" ) )
         {
-            SSPushN( st, ~SSPopN( st, vars ) );
+            SSPushN( st, !SSPopN( st, vars ) );
         }
         else if( !strcmp( s, "^" ) )
         {



More information about the vlc-commits mailing list