svn commit: samba r8651 - in branches/SAMBA_4_0/source/lib/appweb/ejs: .

tridge at samba.org tridge at samba.org
Wed Jul 20 11:55:20 GMT 2005


Author: tridge
Date: 2005-07-20 11:55:20 +0000 (Wed, 20 Jul 2005)
New Revision: 8651

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8651

Log:
fixed a boolean expression bug (submitted upstream)


Modified:
   branches/SAMBA_4_0/source/lib/appweb/ejs/ejsParser.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/appweb/ejs/ejsParser.c
===================================================================
--- branches/SAMBA_4_0/source/lib/appweb/ejs/ejsParser.c	2005-07-20 11:43:23 UTC (rev 8650)
+++ branches/SAMBA_4_0/source/lib/appweb/ejs/ejsParser.c	2005-07-20 11:55:20 UTC (rev 8651)
@@ -1641,6 +1641,9 @@
 		case EJS_EXPR_NOTEQ:
 			lval = lhs->type != rhs->type;
 			break;
+		case EJS_EXPR_BOOL_COMP:
+			lval =  ! mprVarToBool(rhs);
+			break;
 		default:
 			lval = 0;
 		}



More information about the samba-cvs mailing list