OSSP CVS Repository

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

ossp-pkg/pth/pth_clean.c 1.16 -> 1.17

--- pth_clean.c  2002/01/27 11:03:40     1.16
+++ pth_clean.c  2002/10/24 15:21:13     1.17
@@ -44,9 +44,9 @@
     pth_cleanup_t *cleanup;
 
     if (func == NULL)
-        return_errno(FALSE, EINVAL);
+        return pth_error(FALSE, EINVAL);
     if ((cleanup = (pth_cleanup_t *)malloc(sizeof(pth_cleanup_t))) == NULL)
-        return_errno(FALSE, ENOMEM);
+        return pth_error(FALSE, ENOMEM);
     cleanup->func = func;
     cleanup->arg  = arg;
     cleanup->next = pth_current->cleanups;

CVSTrac 2.0.1