summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2001-06-20 18:04:42 +0000
committerwtc%netscape.com <devnull@localhost>2001-06-20 18:04:42 +0000
commit62246092c84561e9c47ecad4e643fcbfbee00736 (patch)
tree92d15175d22e6f24e2c5e599a497f057589bf0de
parent1e93453d9ab56cfd4238a65d4646fcad972cec36 (diff)
downloadnspr-hg-62246092c84561e9c47ecad4e643fcbfbee00736.tar.gz
Bugzilla bug #86880: Map ECONNABORTED to PR_CONNECT_ABORTED_ERROR.
Thanks to Mark Wahl of Sun Microsystems for the bug report. Tag: NSPRPUB_RELEASE_4_1_BRANCH
-rw-r--r--pr/src/md/unix/unix_errors.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pr/src/md/unix/unix_errors.c b/pr/src/md/unix/unix_errors.c
index 136e9b44..3679d3f7 100644
--- a/pr/src/md/unix/unix_errors.c
+++ b/pr/src/md/unix/unix_errors.c
@@ -77,6 +77,9 @@ void _MD_unix_map_default_error(int err)
case EBUSY:
prError = PR_FILESYSTEM_MOUNTED_ERROR;
break;
+ case ECONNABORTED:
+ prError = PR_CONNECT_ABORTED_ERROR;
+ break;
case ECONNREFUSED:
prError = PR_CONNECT_REFUSED_ERROR;
break;