summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-07 08:32:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:19 -0500
commit65ddc6e9b93f5e0527febe1c6bb9dd7f9355530e (patch)
treeebd2b7fd46501a5e1f6f3499297dc60f38686254 /source4/scripting/ejs
parent5eea409d4c57aba091a7ed8d8304627c9796f873 (diff)
downloadsamba-65ddc6e9b93f5e0527febe1c6bb9dd7f9355530e.tar.gz
samba-65ddc6e9b93f5e0527febe1c6bb9dd7f9355530e.tar.bz2
samba-65ddc6e9b93f5e0527febe1c6bb9dd7f9355530e.zip
r8200: - added stub functions for union pull/push
- kill the js interpreter with an exception on internal errors (This used to be commit 5f062d71481a0aa2d8c89099abb2d171b789879e)
Diffstat (limited to 'source4/scripting/ejs')
-rw-r--r--source4/scripting/ejs/smbcalls_rpc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/scripting/ejs/smbcalls_rpc.c b/source4/scripting/ejs/smbcalls_rpc.c
index 00675165ea..6ec3e29e50 100644
--- a/source4/scripting/ejs/smbcalls_rpc.c
+++ b/source4/scripting/ejs/smbcalls_rpc.c
@@ -157,6 +157,9 @@ done:
talloc_free(ptr);
done:
ejsSetReturnValue(eid, mprNTSTATUS(status));
+ if (NT_STATUS_EQUAL(status, NT_STATUS_INTERNAL_ERROR)) {
+ return -1;
+ }
return 0;
}