git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b91ac6
)
s3:pylibsmb: make sure we get tevent debug messages
author
Stefan Metzmacher
<metze@samba.org>
Thu, 21 Feb 2013 07:29:18 +0000
(08:29 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 27 Feb 2013 07:59:40 +0000
(08:59 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/libsmb/pylibsmb.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/pylibsmb.c
b/source3/libsmb/pylibsmb.c
index 900d05212c54516110717c86dd807f51f72cb311..176f2234343ecc5d11f89d660d24512dffa58713 100644
(file)
--- a/
source3/libsmb/pylibsmb.c
+++ b/
source3/libsmb/pylibsmb.c
@@
-201,6
+201,7
@@
static bool py_cli_state_setup_ev(struct py_cli_state *self)
if (self->ev == NULL) {
goto fail;
}
+ samba_tevent_set_debug(self->ev, "pylibsmb_tevent");
tevent_set_trace_callback(self->ev, py_cli_state_trace_callback, self);
self->thread_state = talloc_zero(NULL, struct py_cli_thread);
@@
-335,7
+336,7
@@
static void py_tevent_signalme(struct tevent_req *req)
static bool py_cli_state_setup_ev(struct py_cli_state *self)
{
- self->ev = tevent_context_init(NULL);
+ self->ev =
samba_
tevent_context_init(NULL);
return (self->ev != NULL);
}