OSSP CVS Repository

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

Check-in Number: 2656
Date: 2002-Oct-24 09:46:01 (local)
2002-Oct-24 07:46:01 (UTC)
User:mlelstv
Branch:
Comment: initialize cross pointers

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

Tickets:
Inspections:
Files:
ossp-pkg/sio/sio.c      1.2 -> 1.3     3 inserted, 0 deleted

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

--- sio.c        2002/10/23 17:05:10     1.2
+++ sio.c        2002/10/24 07:46:01     1.3
@@ -184,6 +184,9 @@
     sios->writer.func  = siom->output;
     sios->writer.stage = sios;
 
+    sios->reader.cross = &sios->writer;
+    sios->writer.cross = &sios->reader;
+
     rc = sios->module->init(sio, &sios->userdata);
     if (rc != SIO_OK) {
         free(sios);

CVSTrac 2.0.1