tevent: avoid calling talloc_get_name(NULL) in tevent_req_default_print()
authorStefan Metzmacher <metze@samba.org>
Thu, 20 Jul 2017 12:16:44 +0000 (14:16 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Jul 2017 12:37:03 +0000 (14:37 +0200)
commit4911cfb7df799817d6a91330ce78d1f462ddb087
treea8861edfa3671c8712125e582534c0fa81e63220
parent540f632da7433c62be6dbf83c94eef05f374d1dd
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>
lib/tevent/tevent_req.c