diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-05-29 12:41:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:13 -0500 |
commit | 09e00bbdc18741c20f2eeba83da742f056115789 (patch) | |
tree | 36ceff1b5a26074fa0e91eea521f522bf60a85b1 /source4/scripting/ejs/smbscript.c | |
parent | fe17411203ba3ee5f0a496b524f4afb658077643 (diff) | |
download | samba-09e00bbdc18741c20f2eeba83da742f056115789.tar.gz samba-09e00bbdc18741c20f2eeba83da742f056115789.tar.xz samba-09e00bbdc18741c20f2eeba83da742f056115789.zip |
r7078: - fix an uninitialised variable in smbscript
- fixed handle passing in the smb/ejs interface calls, so they can be called
safely from esp
(This used to be commit 45ea1b64413de577366939b2106f657f6c47b1bd)
Diffstat (limited to 'source4/scripting/ejs/smbscript.c')
-rw-r--r-- | source4/scripting/ejs/smbscript.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/ejs/smbscript.c b/source4/scripting/ejs/smbscript.c index 33788851475..021dafa4aef 100644 --- a/source4/scripting/ejs/smbscript.c +++ b/source4/scripting/ejs/smbscript.c @@ -33,7 +33,7 @@ void ejs_exception(const char *reason) int main(int argc, const char *argv[]) { EjsId eid; - EjsHandle handle; + EjsHandle handle = 0; MprVar result; char *emsg; TALLOC_CTX *mem_ctx = talloc_new(NULL); |