libsmb: Factor out cli_status_to_errno() from cli_errno()
authorVolker Lendecke <vl@samba.org>
Tue, 15 Dec 2020 16:05:34 +0000 (17:05 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 15 Jun 2021 18:11:35 +0000 (18:11 +0000)
commitf877d832095fdaacd3b871966b9189faf8420f5f
tree6787457a6928e3ca80b18e939e413ad95f09a96b
parent35a43de18d541968a5a0de721b4ec429e61ad23b
libsmb: Factor out cli_status_to_errno() from cli_errno()

cli_errno() calls far too many trivial but subtle functions, all
referencing cli->raw_status. This might be the first step towards
getting rid of that.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/clierror.c
source3/libsmb/proto.h