diff options
author | wtc%netscape.com <devnull@localhost> | 2003-05-14 21:44:13 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2003-05-14 21:44:13 +0000 |
commit | 37a0ffec86cc5d6c000145991cf635e6346e4c1c (patch) | |
tree | 00c37b0ad601afa1478260dda0b678ce503683ec | |
parent | 115be0bf71d7f107b3e82ac84f8d66732f146587 (diff) | |
download | nspr-hg-37a0ffec86cc5d6c000145991cf635e6346e4c1c.tar.gz |
Bug 205582: map EHOSTUNREACH to PR_HOST_UNREACHABLE_ERROR on Unix. r=darin.FIREBIRD_0_6_RELEASE
a=asa (on behalf of drivers) for checkin to mozilla 1.4.
Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rw-r--r-- | pr/src/md/unix/unix_errors.c | 3 |
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 15b423cb..055961ee 100644 --- a/pr/src/md/unix/unix_errors.c +++ b/pr/src/md/unix/unix_errors.c @@ -108,6 +108,9 @@ void _MD_unix_map_default_error(int err) case EFBIG: prError = PR_FILE_TOO_BIG_ERROR; break; + case EHOSTUNREACH: + prError = PR_HOST_UNREACHABLE_ERROR; + break; case EINPROGRESS: prError = PR_IN_PROGRESS_ERROR; break; |