libsmb: Make cli_trans a normal subreq function
commitbb843be3bfe4a9e15f345edb8acb290d63b28781
authorVolker Lendecke <vl@samba.org>
Fri, 16 Nov 2018 20:01:19 +0000 (16 21:01 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 21 Nov 2018 15:53:40 +0000 (21 16:53 +0100)
tree3cf0f964e456e56494a1b638a26ac30f4c82d5cc
parent24b1aa9da2e53e0dba89811f6a8d14b810bd48a8
libsmb: Make cli_trans a normal subreq function

A lot of "state" variables, but still I don't think the additional complexity
is justified by saving a few lines. Make this a completely regular tevent_req
"req/subreq" function.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/clitrans.c