mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
libsmbclient: Avoid a call to SMBC_errno() in SMBC_open_ctx()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
7c2b6a71dc
commit
5e98b7dfc0
@ -136,8 +136,8 @@ SMBC_open_ctx(SMBCCTX *context,
|
||||
/* Handle the error ... */
|
||||
|
||||
SAFE_FREE(file);
|
||||
errno = SMBC_errno(context, targetcli);
|
||||
TALLOC_FREE(frame);
|
||||
errno = cli_status_to_errno(status);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user