Explorar el Código

Fix a minor logical error in posix_io.c

tags/v0.9.3
Michael Brown hace 17 años
padre
commit
698b5bc887
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/core/posix_io.c

+ 1
- 1
src/core/posix_io.c Ver fichero

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

Loading…
Cancelar
Guardar