smbd: Simplify an if-condition
authorVolker Lendecke <vl@samba.org>
Fri, 9 Feb 2024 11:37:53 +0000 (12:37 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 9 Apr 2024 22:52:38 +0000 (22:52 +0000)
commit811c184bbb30f8364a6c2f1835732d0c25e1b9c7
tree4fb6fe8dc6950d8862bca73356213d121bf7c2bd
parent51c950c16297ce45aeec85dff53af04f7f3b620f
smbd: Simplify an if-condition

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

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