rpc_client: Simplify get_complete_frag_send()
commit965ebcae7636c44ba40af1eda50cb819ce10b4c8
authorVolker Lendecke <vl@samba.org>
Fri, 6 Aug 2021 10:11:32 +0000 (6 12:11 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 24 Aug 2021 17:32:29 +0000 (24 17:32 +0000)
tree94ba18154fc4bb942face80b1c86af565eaaeb98
parent7df7bf44e55d4ca63f3cf22a6d75efe28cf64371
rpc_client: Simplify get_complete_frag_send()

tevent_req_oom() and tevent_req_nomem() instead of explicit
NT_STATUS_NO_MEMORY; do an early return if done.

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