OSSP CVS Repository

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

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

--- setbuffer.c  2001/07/09 19:20:58     1.4
+++ setbuffer.c  2001/07/18 17:49:51     1.5
@@ -52,13 +52,13 @@
             xds->buffer_capacity = 0;
         else
             xds->buffer_capacity = buffer_len;
-        xds->we_own_buffer = (1==1);
+        xds->we_own_buffer = XDS_TRUE;
         }
     else
         {
         xds->buffer = buffer;
         xds->buffer_capacity = buffer_len;
-        xds->we_own_buffer = (1!=1);
+        xds->we_own_buffer = XDS_FALSE;
         }
 
     return XDS_OK;

CVSTrac 2.0.1