OSSP CVS Repository

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

ossp-pkg/sio/al.c 1.21 -> 1.22

--- al.c 2002/10/18 10:20:26     1.21
+++ al.c 2002/10/18 11:01:59     1.22
@@ -788,7 +788,7 @@
  * - save traversal parameters
  */
 al_rc_t
-al_traverse(al_t *al, size_t off, size_t n, al_td_t dir, al_tx_t *tx)
+al_traverse(al_t *al, al_tx_t *tx, size_t off, size_t n, al_td_t dir)
 {
     al_rc_t rc;
 
@@ -879,7 +879,7 @@
     al_tx_t tx;                /* XXX - private tx structure on stack */
     al_chunk_t *view;
 
-    rc = al_traverse(al, off, n, dir, &tx);
+    rc = al_traverse(al, &tx, off, n, dir);
     if (rc != AL_OK)
         return AL_RC(rc);
 
@@ -914,7 +914,7 @@
 
     *lenp = 0; /* keep caller on safe side */
 
-    rc = al_traverse(al, off, n, AL_FORWARD, &tx);
+    rc = al_traverse(al, &tx, off, n, AL_FORWARD);
     if (rc != AL_OK)
         return AL_RC(rc);
 
@@ -948,7 +948,7 @@
     al_chunk_t *view;
     size_t step;
 
-    rc = al_traverse(al, off, n, AL_FORWARD, &tx);
+    rc = al_traverse(al, &tx, off, n, AL_FORWARD);
     if (rc != AL_OK)
         return AL_RC(rc);
 

CVSTrac 2.0.1