OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/setbuffer.c versions 1.5 and 1.6
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/xds/setbuffer.c 1.5 -> 1.6

--- setbuffer.c  2001/07/18 17:49:51     1.5
+++ setbuffer.c  2001/07/31 06:33:55     1.6
@@ -41,7 +41,7 @@
 
     /* Free the old buffer if there is one. */
 
-    if (xds->buffer != NULL)
+    if (xds->buffer != NULL && xds->we_own_buffer)
         free(xds->buffer);
     xds->buffer_len = 0;
 

CVSTrac 2.0.1