diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-09-27 16:20:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:39:04 -0500 |
commit | 5880f79f4f314b875d8cb2b72562f6cdf716ba67 (patch) | |
tree | c422a8927c1a30be36acce98ff9aa17f465274e5 /source4/libcli | |
parent | 1c701527fff811ab7a60f38f91937d78509c1c01 (diff) | |
download | samba-5880f79f4f314b875d8cb2b72562f6cdf716ba67.tar.gz samba-5880f79f4f314b875d8cb2b72562f6cdf716ba67.tar.bz2 samba-5880f79f4f314b875d8cb2b72562f6cdf716ba67.zip |
r10545: map ECONNRESET to NT_STATUS_CONNECTION_RESET
metze
(This used to be commit e753114e863ff0ea32b35ef30a6f0056cfa7c902)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/util/errormap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/libcli/util/errormap.c b/source4/libcli/util/errormap.c index 95fac97428..99154d2cb0 100644 --- a/source4/libcli/util/errormap.c +++ b/source4/libcli/util/errormap.c @@ -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}, |