summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-13 05:30:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:22:59 -0500
commita3b0bb89b433925110a00b8e87853131856e5ee9 (patch)
treef819ea9ebc2ededf6b0dec00f50d6e636c66a650 /source4
parentafb160e20c0a5235cbe7dc1f8af3451b9afd0f68 (diff)
downloadsamba-a3b0bb89b433925110a00b8e87853131856e5ee9.tar.gz
samba-a3b0bb89b433925110a00b8e87853131856e5ee9.tar.bz2
samba-a3b0bb89b433925110a00b8e87853131856e5ee9.zip
r8411: 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 (This used to be commit f476e7aeec56a921fd286d3fe2cb0a229e57a9e8)
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/ejs/smbscript.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/ejs/smbscript.c b/source4/scripting/ejs/smbscript.c
index 7e014716c2..dec9592c46 100644
--- a/source4/scripting/ejs/smbscript.c
+++ b/source4/scripting/ejs/smbscript.c
@@ -101,7 +101,7 @@ void ejs_exception(const char *reason)
}
return_var = ejsGetReturnValue(eid);
- exit_status = return_var->integer;
+ exit_status = mprVarToNumber(return_var);
ejsClose();