summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-25 00:49:08 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-25 03:21:06 +0200
commit242292d4deefadb14f96af46a1461fc694fad2f4 (patch)
tree11aa6525dc517109e1b73a18607984eef135d2f0
parent6fb13f4c1932306e975eb91bcf4830f68139f1e2 (diff)
downloadsamba-242292d4deefadb14f96af46a1461fc694fad2f4.tar.gz
samba-242292d4deefadb14f96af46a1461fc694fad2f4.tar.bz2
samba-242292d4deefadb14f96af46a1461fc694fad2f4.zip
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
-rw-r--r--source3/libsmb/async_smb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c
index 587e0e36d8..933b7e8c84 100644
--- a/source3/libsmb/async_smb.c
+++ b/source3/libsmb/async_smb.c
@@ -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;