HTTP interface: fix ! operator (fix #3768)

This commit is contained in:
Rémi Denis-Courmont 2010-06-23 07:56:07 +03:00
parent 91e56a1ea8
commit 15745ba514
1 changed files with 1 additions and 1 deletions

View File

@ -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, "^" ) )
{