diff options
author | Volker Lendecke <vl@samba.org> | 2011-05-23 12:25:32 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-05-23 15:45:37 +0200 |
commit | 502a9924ca825f286e759219757455245367ab6b (patch) | |
tree | 92f6335b5a7d53f659f0cfe07caed3b59cac0621 /source3/libsmb | |
parent | fddb944a04c94555b36b77e69d01ecb0dabbd79b (diff) | |
download | samba-502a9924ca825f286e759219757455245367ab6b.tar.gz samba-502a9924ca825f286e759219757455245367ab6b.tar.bz2 samba-502a9924ca825f286e759219757455245367ab6b.zip |
s3: Remove unused cli_set_nt_error
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clierror.c | 9 | ||||
-rw-r--r-- | source3/libsmb/proto.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/source3/libsmb/clierror.c b/source3/libsmb/clierror.c index 3853490493..e027624de7 100644 --- a/source3/libsmb/clierror.c +++ b/source3/libsmb/clierror.c @@ -340,15 +340,6 @@ NTSTATUS cli_get_nt_error(struct cli_state *cli) } } -/* Push an error code into the inbuf to be returned on the next - * query. */ - -void cli_set_nt_error(struct cli_state *cli, NTSTATUS status) -{ - SSVAL(cli->inbuf,smb_flg2, SVAL(cli->inbuf,smb_flg2)|FLAGS2_32_BIT_ERROR_CODES); - SIVAL(cli->inbuf, smb_rcls, NT_STATUS_V(status)); -} - bool cli_state_is_connected(struct cli_state *cli) { if (cli == NULL) { diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h index a2931592c9..c7e3bc7bcd 100644 --- a/source3/libsmb/proto.h +++ b/source3/libsmb/proto.h @@ -191,7 +191,6 @@ bool cli_is_error(struct cli_state *cli); bool cli_is_nt_error(struct cli_state *cli); bool cli_is_dos_error(struct cli_state *cli); NTSTATUS cli_get_nt_error(struct cli_state *cli); -void cli_set_nt_error(struct cli_state *cli, NTSTATUS status); bool cli_state_is_connected(struct cli_state *cli); /* The following definitions come from libsmb/clifile.c */ |