OSSP CVS Repository

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

ossp-pkg/sio/sio_fd.c 1.4 -> 1.5

--- sio_fd.c     2002/11/05 15:57:50     1.4
+++ sio_fd.c     2002/11/05 16:05:25     1.5
@@ -156,7 +156,8 @@
 {
     private_t *my = (private_t *)u;
     char   *p;
-    size_t n, actual;
+    size_t n;
+    int actual;
 
     p = al_chunk_ptr(alc, 0);
     n = al_chunk_len(alc);
@@ -184,7 +185,7 @@
     if (arc != AL_OK)
         return SIO_DOWNSTREAM;
 
-    arc = al_splice(al, 0, my->written, NULL, NULL);
+    arc = al_splice(al, 0, al_bytes(al), NULL, NULL);
     if (arc != AL_OK)
         return SIO_DOWNSTREAM;
 

CVSTrac 2.0.1