OSSP CVS Repository

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

ossp-pkg/sio/sio_hole.c 1.2 -> 1.3

--- sio_hole.c   2002/11/05 13:23:36     1.2
+++ sio_hole.c   2002/11/08 08:59:32     1.3
@@ -17,13 +17,13 @@
 static
 sio_rc_t hole_init(sio_t *sio, void **u)
 {
-    private_t *mydata;
+    private_t *my;
     
-    mydata = (private_t *)malloc(sizeof(private_t));
-    if (mydata == NULL)
+    my = (private_t *)malloc(sizeof(private_t));
+    if (my == NULL)
         return SIO_ERR_MEM;
 
-    *u = mydata;
+    *u = my;
 
     return SIO_OK;
 }
@@ -45,9 +45,9 @@
 static
 sio_rc_t hole_cleanup(sio_t *sio, void *u)
 {
-    private_t *mydata = (private_t *)u;
+    private_t *my = (private_t *)u;
 
-    free(mydata);
+    free(my);
 
     return SIO_OK;
 }

CVSTrac 2.0.1