tevent: avoid calling talloc_get_name(NULL) in tevent_req_default_print()
commit3d87c0660eba61ac4b02e43798aa82ee9e64b454
authorStefan Metzmacher <metze@samba.org>
Thu, 20 Jul 2017 12:16:44 +0000 (20 14:16 +0200)
committerStefan Metzmacher <metze@samba.org>
Sun, 23 Jul 2017 08:27:22 +0000 (23 10:27 +0200)
treeda9addc0e3703818c570251364ddf45737c8c289
parent50845aa9ea18b9e3621bb2eb0f10f8dd50af06b4
tevent: avoid calling talloc_get_name(NULL) in tevent_req_default_print()

We have the same information available under req->internal.private_type.

This way it's possible to call tevent_req_print() after
tevent_req_received() was called.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 21b56ffd983cc0b982bea55866bfa84c79133503)
lib/tevent/tevent_req.c