From 15745ba514210fdbb557124dcde5d398e41a03ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Wed, 23 Jun 2010 07:56:07 +0300 Subject: [PATCH] HTTP interface: fix ! operator (fix #3768) --- modules/control/http/rpn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/control/http/rpn.c b/modules/control/http/rpn.c index 7d316229f7..320a4ffa99 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, "^" ) ) { -- 2.39.5