mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
tevent: include the finish location in tevent_req_default_print()
It's verify useful when debugging code without a debugger to be able to use tevent_req_print() in DEBUG statements. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> (cherry picked from commit d7f649b7044a5579d321cc1cfa7893a8221f6412)
This commit is contained in:
parent
82572f0617
commit
c2159d1369
@ -31,14 +31,15 @@ char *tevent_req_default_print(struct tevent_req *req, TALLOC_CTX *mem_ctx)
|
||||
{
|
||||
return talloc_asprintf(mem_ctx,
|
||||
"tevent_req[%p/%s]: state[%d] error[%lld (0x%llX)] "
|
||||
" state[%s (%p)] timer[%p]",
|
||||
" state[%s (%p)] timer[%p] finish[%s]",
|
||||
req, req->internal.create_location,
|
||||
req->internal.state,
|
||||
(unsigned long long)req->internal.error,
|
||||
(unsigned long long)req->internal.error,
|
||||
talloc_get_name(req->data),
|
||||
req->data,
|
||||
req->internal.timer
|
||||
req->internal.timer,
|
||||
req->internal.finish_location
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user