OSSP CVS Repository

ossp - Check-in [2849]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2849
Date: 2002-Nov-19 16:30:51 (local)
2002-Nov-19 15:30:51 (UTC)
User:mlelstv
Branch:
Comment: cut&paste error

PR: Submitted by: Reviewed by: Approved by: Obtained from:

Tickets:
Inspections:
Files:
ossp-pkg/sio/sio_fd.c      1.7 -> 1.8     2 inserted, 2 deleted

ossp-pkg/sio/sio_fd.c 1.7 -> 1.8

--- 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;
     }
 

CVSTrac 2.0.1