r7063: Do error checking on the ejs functions.
commit5e2458ae6c863ff29b85fff3d093f7f4fa9dc2be
authorTim Potter <tpot@samba.org>
Sun, 29 May 2005 03:25:21 +0000 (29 03:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:17:10 +0000 (10 13:17 -0500)
treef1f5e127261f5e34bb09a0f38b4de1d13b701290
parente14c00c4c1cc51dac9452c1e950445907d883e46
r7063: Do error checking on the ejs functions.

Tridge says there is a bug in defining per-engine CFunction's so move
calls to ejsDefineStringCFunction() above the ejsOpenEngine() call.

Test script now works!
source/scripting/ejs/smbscript.c