OSSP CVS Repository

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

ossp-pkg/sio/sio.c 1.6 -> 1.7

--- sio.c        2002/11/05 15:52:21     1.6
+++ sio.c        2002/11/05 16:12:39     1.7
@@ -329,7 +329,7 @@
         rc = sios->module->openr(sio, sio->readers.al, sios->userdata);
         if (rc != SIO_OK) {
             sio_destroy_al(sio, rw);
-            return SIO_ERR_INT;
+            return SIO_RC(rc);
         }
         ADDTAIL(&sio->readers,hd,&sios->reader);
         freereader = 1;
@@ -342,7 +342,7 @@
                 sios->module->closer(sio, sio->readers.al, sios->userdata);
             }
             sio_destroy_al(sio, rw);
-            return SIO_ERR_INT;
+            return SIO_RC(rc);
         }
         ADDTAIL(&sio->writers,hd,&sios->writer);
     }

CVSTrac 2.0.1