Index: mozilla/nsprpub/pr/src/md/unix/unix_errors.c |
=================================================================== |
--- mozilla/nsprpub/pr/src/md/unix/unix_errors.c (revision 179237) |
+++ mozilla/nsprpub/pr/src/md/unix/unix_errors.c (working copy) |
@@ -80,6 +80,7 @@ |
prError = PR_FILE_TOO_BIG_ERROR; |
break; |
case EHOSTUNREACH: |
+ case EHOSTDOWN: |
prError = PR_HOST_UNREACHABLE_ERROR; |
break; |
case EINPROGRESS: |
@@ -530,7 +531,7 @@ |
case EACCES: |
prError = PR_ADDRESS_NOT_SUPPORTED_ERROR; |
break; |
-#if defined(UNIXWARE) || defined(SNI) || defined(NEC) |
+#if defined(UNIXWARE) |
/* |
* On some platforms, if we connect to a port on the local host |
* (the loopback address) that no process is listening on, we get |