OSSP CVS Repository

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

ossp-pkg/pth/test_mp.c 1.41 -> 1.42

--- test_mp.c    2002/11/03 09:24:42     1.41
+++ test_mp.c    2002/11/05 19:39:09     1.42
@@ -143,7 +143,7 @@
         else
             evt = pth_event(PTH_EVENT_TIME|PTH_MODE_REUSE, evt, pth_timeout(20,0));
         n = pth_readline_ev(STDIN_FILENO, caLine, MAXLINELEN, evt);
-        if (n == -1 && pth_event_occurred(evt)) {
+        if (n == -1 && pth_event_status(evt) == PTH_STATUS_OCCURRED) {
             fprintf(stderr, "main: Hey, what are you waiting for? Type in something!\n");
             continue;
         }

CVSTrac 2.0.1