OSSP CVS Repository

ossp - Difference in ossp-pkg/sio/sio_sa.c versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/sio/sio_sa.c 1.2 -> 1.3

--- sio_sa.c     2002/11/05 15:52:21     1.2
+++ sio_sa.c     2002/11/14 15:56:10     1.3
@@ -7,7 +7,6 @@
 
 #include "al.h"
 #include "sio.h"
-#include "sio_module.h"
 
 #include "sa.h"
 
@@ -158,15 +157,15 @@
     src = sa_read(my->sa, buf->mem, buf->size, &actual);
     if (src != SA_OK) {
         saw_writeerror(al, my);
-        return SIO_DOWNSTREAM;
+        return SIO_SCHED_DOWN;
     } else if (src == SA_ERR_EOF) {
         saw_writeeof(al, my);
-        return SIO_DOWNSTREAM;
+        return SIO_SCHED_DOWN;
     }
 
     al_append_bytes(al, buf->mem, actual, my->data_label);
 
-    return SIO_DOWNSTREAM;
+    return SIO_SCHED_DOWN;
 }
 
 static
@@ -205,7 +204,7 @@
     arc = al_splice(al, 0, al_bytes(al), NULL, NULL);
     if (arc != AL_OK) return SIO_ERR_INT;
 
-    return SIO_DOWNSTREAM;
+    return SIO_SCHED_DOWN;
 }
 
 sio_module_t sio_module_sa = {

CVSTrac 2.0.1