From 242292d4deefadb14f96af46a1461fc694fad2f4 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 25 Oct 2011 00:49:08 +0200 Subject: s3:libsmb: make use of map_nt_error_from_unix_common() in async_smb.c metze Autobuild-User: Stefan Metzmacher Autobuild-Date: Tue Oct 25 03:21:06 CEST 2011 on sn-devel-104 --- source3/libsmb/async_smb.c | 4 ++-- 1 file 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; -- cgit