OSSP CVS Repository

ossp - Difference in ossp-pkg/sio/al.c versions 1.25 and 1.26
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/sio/al.c 1.25 -> 1.26

--- al.c 2002/10/18 12:31:50     1.25
+++ al.c 2002/10/18 12:41:20     1.26
@@ -145,7 +145,6 @@
 static
 void freemem(char *p, size_t n, void *u)
 {
-printf("*** FREEMEM(LIBRARY) buffer %p size %d\n",p,n);
     al_t *al = (al_t *)u;
     (al->m.bfree)(p);
 }
@@ -170,7 +169,7 @@
     }
 
     buf->freemem  = freemem;
-    buf->userdata = NULL;
+    buf->userdata = (void *)al;
     buf->size     = n;
     buf->usecount = 0;
 

CVSTrac 2.0.1