]> git.ipfire.org Git - thirdparty/samba.git/commit
libsmb: Slightly simplify cli_session_creds_init
authorVolker Lendecke <vl@samba.org>
Tue, 28 May 2024 10:23:35 +0000 (12:23 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 4 Jun 2024 07:11:35 +0000 (07:11 +0000)
commitdc31a49830d6a01b177293ededa856c8d4be06ab
treebf77662961952bf61509e3b50333f772cc38e474
parent4cade04d1f1e7f1bbd99776bcf876a42488d0f78
libsmb: Slightly simplify cli_session_creds_init

In this case a nested if seems easier to understand to me than another
if-expression duplicating half of a previous one.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/libsmb/cliconnect.c