diff options
author | wtc%netscape.com <devnull@localhost> | 2003-05-14 01:56:26 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2003-05-14 01:56:26 +0000 |
commit | 9681819e2e405b239c08f558caf2dfdfb7ec8a87 (patch) | |
tree | 00c37b0ad601afa1478260dda0b678ce503683ec | |
parent | 79fc4b618d1b7db954960a2f39a875c91bcb19c1 (diff) | |
download | nspr-hg-9681819e2e405b239c08f558caf2dfdfb7ec8a87.tar.gz |
Bug 205582: map EHOSTUNREACH to PR_HOST_UNREACHABLE_ERROR on Unix. r=darin.
-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; |