smbd: Simplify smbXsrv_open_purge_replay_cache()
commite5596cf4a6aa1c1025867fcad75485c87d8efd7f
authorVolker Lendecke <vl@samba.org>
Fri, 9 Feb 2024 12:02:25 +0000 (9 13:02 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 30 Apr 2024 22:44:32 +0000 (30 22:44 +0000)
tree671d2ac2c330bcb36860e65fa0f4190cb8b93049
parent647d2c6481c07da70a87116089a4a42b72adbdb1
smbd: Simplify smbXsrv_open_purge_replay_cache()

GUID_buf_string is supposed to never fail except if the guid passed in
is NULL. Our only current caller already checks
that. dbwrap_purge_bystring() could actually fail, so put the result
into a variable for the debugger.

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