diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-07-08 10:27:41 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-08 14:09:09 +0200 |
commit | 2c160224c2bcf241653e313445e21746e772b424 (patch) | |
tree | 79605087623d0656e2c9fde2079a35b226bbc84a /source3/libsmb | |
parent | f0e6e5c37d5921450d030acb98c794f0cf7224a6 (diff) | |
download | samba-2c160224c2bcf241653e313445e21746e772b424.tar.gz samba-2c160224c2bcf241653e313445e21746e772b424.tar.bz2 samba-2c160224c2bcf241653e313445e21746e772b424.zip |
s3:libsmb: don't call cli_set_error() in cli_echo()
cli_smb_recv() already does it.
metze
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clientgen.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index 41f5cb5939..676e48205e 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -509,9 +509,6 @@ NTSTATUS cli_echo(struct cli_state *cli, uint16_t num_echos, DATA_BLOB data) status = cli_echo_recv(req); fail: TALLOC_FREE(frame); - if (!NT_STATUS_IS_OK(status)) { - cli_set_error(cli, status); - } return status; } |