diff --git a/mozilla/security/nss/lib/ssl/unix_err.c b/mozilla/security/nss/lib/ssl/unix_err.c index 74bf3133cbc..cf54ef35e9c 100644 --- a/mozilla/security/nss/lib/ssl/unix_err.c +++ b/mozilla/security/nss/lib/ssl/unix_err.c @@ -38,7 +38,7 @@ * may use your version of this file under either the MPL or the * GPL. * - * $Id: unix_err.c,v 1.1 2000-03-31 19:37:17 relyea%netscape.com Exp $ + * $Id: unix_err.c,v 1.2 2000-09-18 19:53:59 nelsonb%netscape.com Exp $ */ #if 0 @@ -505,7 +505,9 @@ void nss_MD_unix_map_default_error(int err) case ENOMEM: prError = PR_OUT_OF_MEMORY_ERROR; break; case ENOPROTOOPT: prError = PR_INVALID_ARGUMENT_ERROR; break; case ENOSPC: prError = PR_NO_DEVICE_SPACE_ERROR; break; +#ifdef ENOSR case ENOSR: prError = PR_INSUFFICIENT_RESOURCES_ERROR; break; +#endif case ENOTCONN: prError = PR_NOT_CONNECTED_ERROR; break; case ENOTDIR: prError = PR_NOT_DIRECTORY_ERROR; break; case ENOTSOCK: prError = PR_NOT_SOCKET_ERROR; break;