Commit in reactos/lib/msafd/misc on MAIN | |||
dllmain.c | +1 | 1.24 -> 1.25 |
Recognize and deal with STATUS_END_OF_FILE.
diff -u -r1.24 -r1.25 --- dllmain.c 18 Dec 2004 23:12:23 -0000 1.24 +++ dllmain.c 19 Dec 2004 10:24:52 -0000 1.25 @@ -267,6 +267,7 @@
case STATUS_SUCCESS: /* Return Number of bytes Read */ if( ReturnedBytes ) *ReturnedBytes = Received; break;
+ case STATUS_END_OF_FILE: *Errno = WSAESHUTDOWN; *ReturnedBytes = 0; break;
case STATUS_PENDING: *Errno = WSA_IO_PENDING; break; case STATUS_BUFFER_OVERFLOW: *Errno = WSAEMSGSIZE; break; default: {