OSSP CVS Repository

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

Check-in Number: 1391
Date: 2001-Nov-30 13:37:29 (local)
2001-Nov-30 12:37:29 (UTC)
User:rse
Branch:
Comment: *** empty log message ***
Tickets:
Inspections:
Files:
ossp-pkg/pth/pth_event.c      1.55 -> 1.56     4 inserted, 2 deleted

ossp-pkg/pth/pth_event.c 1.55 -> 1.56

--- pth_event.c  2001/03/24 14:51:04     1.55
+++ pth_event.c  2001/11/30 12:37:29     1.56
@@ -413,8 +413,10 @@
     ev = ev_ring;
     occurred = 0;
     do {
-        occurred++;
-        pth_debug2("pth_wait: occurred event 0x%lx", (unsigned long)ev);
+        if (ev->ev_occurred) {
+            pth_debug2("pth_wait: occurred event 0x%lx", (unsigned long)ev);
+            occurred++;
+        }
         ev = ev->ev_next;
     } while (ev != ev_ring);
 

CVSTrac 2.0.1