smbd: simplify the logic in change_to_user()
commit35a12e7009d9f1e2eeab06c02ac8227f5b59c778
authorStefan Metzmacher <metze@samba.org>
Tue, 12 Jun 2018 13:39:51 +0000 (12 15:39 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Jun 2018 06:59:16 +0000 (18 08:59 +0200)
tree59bee237a1ee7e2dac42403ba3e61c0a9c804d37
parente469d6c73059d53dd10d590db7ab3118e66f731a
smbd: simplify the logic in change_to_user()

We can return early if (vuser == NULL).

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/uid.c