summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2001-06-20 18:03:47 +0000
committerwtc%netscape.com <devnull@localhost>2001-06-20 18:03:47 +0000
commitd5072aed25996f926839ea9694f1527f276414e8 (patch)
tree173b320c7bbe12890faa621b299ed391481f2795
parent6223ff54bd2e18723c4f1988bae56bea109410c7 (diff)
downloadnspr-hg-d5072aed25996f926839ea9694f1527f276414e8.tar.gz
Bugzilla bug #86880: Map ECONNABORTED to PR_CONNECT_ABORTED_ERROR.
Thanks to Mark Wahl of Sun Microsystems for the bug report.
-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 cfac282d..7164675b 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;