OSSP CVS Repository

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

Check-in Number: 2610
Date: 2002-Oct-18 11:10:10 (local)
2002-Oct-18 09:10:10 (UTC)
User:mlelstv
Branch:
Comment: use al_traverse_end() as required by API

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

Tickets:
Inspections:
Files:
ossp-pkg/sio/al_test.c      1.8 -> 1.9     1 inserted, 0 deleted

ossp-pkg/sio/al_test.c 1.8 -> 1.9

--- al_test.c    2002/10/17 15:02:49     1.8
+++ al_test.c    2002/10/18 09:10:10     1.9
@@ -119,6 +119,7 @@
     al_traverse(al, 0, -1, AL_FORWARD, tx);
     while (al_traverse_next(al, tx, &cur) == AL_OK)
         total += al_chunk_len(cur);
+    al_traverse_end(al, tx, 1);
     al_txfree(al, tx);
 
     total2 = al_bytes(al);

CVSTrac 2.0.1