mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3:libsmb: make use of map_nt_error_from_unix_common() in async_smb.c
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 25 03:21:06 CEST 2011 on sn-devel-104
This commit is contained in:
parent
6fb13f4c19
commit
242292d4de
@ -597,7 +597,7 @@ static void cli_smb_sent(struct tevent_req *subreq)
|
||||
nwritten = writev_recv(subreq, &err);
|
||||
TALLOC_FREE(subreq);
|
||||
if (nwritten == -1) {
|
||||
NTSTATUS status = map_nt_error_from_unix(err);
|
||||
NTSTATUS status = map_nt_error_from_unix_common(err);
|
||||
cli_state_notify_pending(state->cli, status);
|
||||
return;
|
||||
}
|
||||
@ -637,7 +637,7 @@ static void cli_smb_received(struct tevent_req *subreq)
|
||||
TALLOC_FREE(subreq);
|
||||
cli->conn.read_smb_req = NULL;
|
||||
if (received == -1) {
|
||||
status = map_nt_error_from_unix(err);
|
||||
status = map_nt_error_from_unix_common(err);
|
||||
cli_state_notify_pending(cli, status);
|
||||
TALLOC_FREE(frame);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user