diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-04-17 01:37:42 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-04-17 01:37:42 +0200 |
commit | bbb826bdac54e3fec3426fe6d8e23790abbbc44f (patch) | |
tree | bb34465915176bd2b6568a9de94b96f4fea094ee /source4/scripting/ejs/smbcalls_auth.c | |
parent | a145d21de63a5cb2d347c1281ed437cab6a95569 (diff) | |
download | samba-bbb826bdac54e3fec3426fe6d8e23790abbbc44f.tar.gz samba-bbb826bdac54e3fec3426fe6d8e23790abbbc44f.tar.bz2 samba-bbb826bdac54e3fec3426fe6d8e23790abbbc44f.zip |
Add convenience function for getting at event context from ejs code.
(This used to be commit b659e83cd6b627dd0ae04064bccff7220a5bd1ce)
Diffstat (limited to 'source4/scripting/ejs/smbcalls_auth.c')
-rw-r--r-- | source4/scripting/ejs/smbcalls_auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/ejs/smbcalls_auth.c b/source4/scripting/ejs/smbcalls_auth.c index 908a009159..8e464a5021 100644 --- a/source4/scripting/ejs/smbcalls_auth.c +++ b/source4/scripting/ejs/smbcalls_auth.c @@ -55,7 +55,7 @@ static int ejs_doauth(MprVarHandle eid, msg = c->msg_ctx; } else { /* Hope we can find the event context somewhere up there... */ - ev = event_context_find(tmp_ctx); + ev = mprEventCtx(); msg = messaging_client_init(tmp_ctx, lp_messaging_path(tmp_ctx, mprLpCtx()), lp_iconv_convenience(mprLpCtx()), ev); } |