소스 검색

Fix a minor logical error in posix_io.c

tags/v0.9.3
Michael Brown 16 년 전
부모
커밋
698b5bc887
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/core/posix_io.c

+ 1
- 1
src/core/posix_io.c 파일 보기

@@ -264,7 +264,7 @@ int select ( fd_set *readfds, int wait ) {
264 264
 			if ( ! file )
265 265
 				return -EBADF;
266 266
 			if ( ( list_empty ( &file->data ) ) &&
267
-			     ( file->rc != -EINPROGRESS ) )
267
+			     ( file->rc == -EINPROGRESS ) )
268 268
 				continue;
269 269
 			/* Data is available or status has changed */
270 270
 			FD_ZERO ( readfds );

Loading…
취소
저장