EINPROGRESS handling, from John Fairhurst OS2_BRANCH
authorlaw
Mon, 13 Jul 1998 22:16:46 +0000
branchOS2_BRANCH
changeset 183 48c9179cf7ac
parent 182 a852fbfea4b9
push idunknown
push userunknown
push dateunknown
EINPROGRESS handling, from John Fairhurst
pr/src/md/os2/os2_errors.c
--- a/pr/src/md/os2/os2_errors.c
+++ b/pr/src/md/os2/os2_errors.c
@@ -744,17 +744,19 @@ void _MD_os2_map_acceptex_error(PRInt32 
 }
 
 void _MD_os2_map_connect_error(PRInt32 err)
 {
 	switch (err) {
        case EWOULDBLOCK:
 			PR_SetError(PR_WOULD_BLOCK_ERROR, err);
 			break;
-      case EINPROGRESS:
+        case EINPROGRESS:
+			PR_SetError(PR_IN_PROGRESS_ERROR, err);
+			break;
 		case EALREADY:
 		case EINVAL:
 			PR_SetError(PR_ALREADY_INITIATED_ERROR, err);
 			break;
 		case EBADF:
 			PR_SetError(PR_BAD_DESCRIPTOR_ERROR, err);
 			break;
 		case EADDRNOTAVAIL: