Преглед изворни кода

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…
Откажи
Сачувај