OSSP CVS Repository

ossp - Difference in ossp-pkg/pth/pth_event.c versions 1.55 and 1.56
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

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