1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r10545: map ECONNRESET to NT_STATUS_CONNECTION_RESET

metze
(This used to be commit e753114e86)
This commit is contained in:
Stefan Metzmacher 2005-09-27 16:20:17 +00:00 committed by Gerald (Jerry) Carter
parent 1c701527ff
commit 5880f79f4f

View File

@ -1277,6 +1277,9 @@ const struct unix_error_map unix_nt_errmap[] = {
{ ENOMEM, NT_STATUS_NO_MEMORY },
{ EPIPE, NT_STATUS_CONNECTION_DISCONNECTED },
{ ECONNREFUSED, NT_STATUS_CONNECTION_REFUSED },
#ifdef ECONNRESET
{ ECONNRESET, NT_STATUS_CONNECTION_RESET },
#endif
{ EBUSY, NT_STATUS_SHARING_VIOLATION },
#ifdef ENOTSUP
{ ENOTSUP, NT_STATUS_NOT_SUPPORTED},