smbd: Simplify an if-condition
authorVolker Lendecke <vl@samba.org>
Fri, 9 Feb 2024 11:37:53 +0000 (12:37 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 30 Apr 2024 22:44:32 +0000 (22:44 +0000)
commit647d2c6481c07da70a87116089a4a42b72adbdb1
treea915009abb6d10870fbf39129986ea7bb9a34f1a
parent56814d3ee2500a36a8d1c3db9e2524dfa91fc229
smbd: Simplify an if-condition

(state->current_sid == NULL) is true if and only if we could not
assign state->current_sid because num_sids was too small. Make that
more explicit.

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