OSSP CVS Repository

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

ossp-pkg/xds/vencode.c 1.3 -> 1.4

--- vencode.c    2001/07/09 17:36:33     1.3
+++ vencode.c    2001/07/09 17:44:29     1.4
@@ -53,11 +53,11 @@
 
     if (xds->buffer == NULL)
         {                       /* allocate a new buffer */
-        int rc = xds_set_capacity((void**)&xds->buffer,
-                                  &xds->buffer_capacity,
-                                  XDS_INITIAL_BUFFER_CAPACITY,
-                                  sizeof(char),
-                                  XDS_INITIAL_BUFFER_CAPACITY);
+        rc = xds_set_capacity((void**)&xds->buffer,
+                              &xds->buffer_capacity,
+                              XDS_INITIAL_BUFFER_CAPACITY,
+                              sizeof(char),
+                              XDS_INITIAL_BUFFER_CAPACITY);
         assert(rc == XDS_OK || rc == XDS_ERR_NO_MEM);
         if (rc != XDS_OK)
             return rc;
@@ -73,11 +73,11 @@
         {
         if (xds->we_own_buffer)
             {
-            int rc = xds_set_capacity((void**)&xds->buffer,
-                                      &xds->buffer_capacity,
-                                      xds->buffer_len + 1,
-                                      sizeof(char),
-                                      XDS_INITIAL_BUFFER_CAPACITY);
+            rc = xds_set_capacity((void**)&xds->buffer,
+                                  &xds->buffer_capacity,
+                                  xds->buffer_len + 1,
+                                  sizeof(char),
+                                  XDS_INITIAL_BUFFER_CAPACITY);
             assert(rc == XDS_OK || rc == XDS_ERR_NO_MEM);
             if (rc != XDS_OK)
                 return rc;

CVSTrac 2.0.1