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

tridge at samba.org tridge at samba.org
Mon May 30 06:06:27 GMT 2005


Author: tridge
Date: 2005-05-30 06:06:27 +0000 (Mon, 30 May 2005)
New Revision: 7085

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

Log:
fixed a bug in ejs with setting up the arguments[] array

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


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ejs/ejsParser.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ejs/ejsParser.c	2005-05-30 00:19:58 UTC (rev 7084)
+++ branches/SAMBA_4_0/source/lib/ejs/ejsParser.c	2005-05-30 06:06:27 UTC (rev 7085)
@@ -2069,6 +2069,8 @@
 		 */
 		for (i = 0; i < formalArgs->used; i++) {
 			mprCreateProperty(ep->local, argNames[i], argValues[i]);
+		}
+		for (i = 0; i < actualArgs->used; i++) {
 			mprItoa(i, buf, sizeof(buf));
 			mprCreateProperty(&arguments, buf, argValues[i]);
 		}



More information about the samba-cvs mailing list