git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24d2107
)
r8651: fixed a boolean expression bug (submitted upstream)
author
Andrew Tridgell
<tridge@samba.org>
Wed, 20 Jul 2005 11:55:20 +0000
(11:55 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:29:50 +0000
(13:29 -0500)
(This used to be commit
bd4c388cd2653823e012f1cd8c14832ee032eb11
)
source4/lib/appweb/ejs/ejsParser.c
patch
|
blob
|
history
diff --git
a/source4/lib/appweb/ejs/ejsParser.c
b/source4/lib/appweb/ejs/ejsParser.c
index 1f110e7ac427b5b4ed335348e4abcd75482eebad..dadd3eac11d9a163ca84e818da9f2de92b9841c3 100644
(file)
--- a/
source4/lib/appweb/ejs/ejsParser.c
+++ b/
source4/lib/appweb/ejs/ejsParser.c
@@
-1641,6
+1641,9
@@
static int evalExpr(Ejs *ep, MprVar *lhs, int rel, MprVar *rhs)
case EJS_EXPR_NOTEQ:
lval = lhs->type != rhs->type;
break;
+ case EJS_EXPR_BOOL_COMP:
+ lval = ! mprVarToBool(rhs);
+ break;
default:
lval = 0;
}