Commit 15745ba5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

HTTP interface: fix ! operator (fix #3768)

parent 91e56a1e
...@@ -164,7 +164,7 @@ void EvaluateRPN( intf_thread_t *p_intf, mvar_t *vars, ...@@ -164,7 +164,7 @@ void EvaluateRPN( intf_thread_t *p_intf, mvar_t *vars,
/* 1. Integer function */ /* 1. Integer function */
if( !strcmp( s, "!" ) ) if( !strcmp( s, "!" ) )
{ {
SSPushN( st, ~SSPopN( st, vars ) ); SSPushN( st, !SSPopN( st, vars ) );
} }
else if( !strcmp( s, "^" ) ) else if( !strcmp( s, "^" ) )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment