OSSP CVS Repository

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

Check-in Number: 3081
Date: 2003-Jan-20 17:16:40 (local)
2003-Jan-20 16:16:40 (UTC)
User:mlelstv
Branch:
Comment: sio_write now returns number of bytes sent upstream
Tickets:
Inspections:
Files:
ossp-pkg/sio/sio.c      1.20 -> 1.21     2 inserted, 0 deleted

ossp-pkg/sio/sio.c 1.20 -> 1.21

--- sio.c        2003/01/06 19:04:56     1.20
+++ sio.c        2003/01/20 16:16:40     1.21
@@ -729,6 +729,8 @@
     else
         rc = sio_output(sio, al);
 
+    *actualp = n - al_bytes(al);
+
     arc = al_destroy(al);
     if (arc != AL_OK) return SIO_RC(SIO_ERR_INT);
 

CVSTrac 2.0.1