svn commit: samba r8411 - in branches/SAMBA_4_0/source/scripting/ejs: .

tridge at samba.org tridge at samba.org
Wed Jul 13 05:30:26 GMT 2005


Author: tridge
Date: 2005-07-13 05:30:23 +0000 (Wed, 13 Jul 2005)
New Revision: 8411

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

Log:
we need to use mprVarToNumber() instead of var->integer now, to cope with
the 64 bit integer support

this fixes the exit status from smbscript


Modified:
   branches/SAMBA_4_0/source/scripting/ejs/smbscript.c


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/ejs/smbscript.c
===================================================================
--- branches/SAMBA_4_0/source/scripting/ejs/smbscript.c	2005-07-13 05:29:05 UTC (rev 8410)
+++ branches/SAMBA_4_0/source/scripting/ejs/smbscript.c	2005-07-13 05:30:23 UTC (rev 8411)
@@ -101,7 +101,7 @@
 	}
 
 	return_var = ejsGetReturnValue(eid);
-	exit_status = return_var->integer;
+	exit_status = mprVarToNumber(return_var);
 
 	ejsClose();
 



More information about the samba-cvs mailing list