git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
149f8f1
)
s4-pyauth: Make sure event context allows nesting
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 29 Dec 2011 02:51:17 +0000
(13:51 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 29 Dec 2011 03:01:55 +0000
(14:01 +1100)
source4/auth/pyauth.c
patch
|
blob
|
history
diff --git
a/source4/auth/pyauth.c
b/source4/auth/pyauth.c
index 08ce9d3f7fd2383042935eed2e15ff0d3d41abe5..f448a4404daa09b23afa20bd4833a647b7ec2615 100644
(file)
--- a/
source4/auth/pyauth.c
+++ b/
source4/auth/pyauth.c
@@
-30,6
+30,7
@@
#include "auth/credentials/pycredentials.h"
#include <tevent.h>
#include "librpc/rpc/pyrpc_util.h"
+#include "lib/events/events.h"
void initauth(void);
@@
-245,7
+246,7
@@
static PyObject *py_auth_context_new(PyTypeObject *type, PyObject *args, PyObjec
lp_ctx = lpcfg_from_py_object(mem_ctx, py_lp_ctx);
- ev =
t
event_context_init(mem_ctx);
+ ev =
s4_
event_context_init(mem_ctx);
if (ev == NULL) {
PyErr_NoMemory();
return NULL;