--- sio_fd.c 2002/11/14 15:56:10 1.7
+++ sio_fd.c 2002/11/19 15:30:51 1.8
@@ -141,10 +141,10 @@
actual = read(my->fd, buf->mem, buf->size);
if (actual < 0) {
- al_append_bytes(al, &my->eof, sizeof(my->eof), my->error_label);
+ al_append_bytes(al, &my->error, sizeof(my->error), my->error_label);
return SIO_SCHED_DOWN;
} else if (actual == 0) {
- al_append_bytes(al, &my->error, sizeof(my->error), my->eof_label);
+ al_append_bytes(al, &my->eof, sizeof(my->eof), my->eof_label);
return SIO_SCHED_DOWN;
}
|