OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/regression-tests/xds-encode.c versions 1.5.2.2 and 1.5.2.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/xds/regression-tests/xds-encode.c 1.5.2.2 -> 1.5.2.3

--- xds-encode.c 2001/08/01 12:03:12     1.5.2.2
+++ xds-encode.c 2001/08/01 14:35:43     1.5.2.3
@@ -63,11 +63,9 @@
         printf("args pointer passed to engine is NULL!\n");
         exit(1);
         }
+    *used_buffer_size = 6;
     if (buffer_size < 6)
         return XDS_ERR_OVERFLOW;
-    else
-        *used_buffer_size = 6;
-
     memmove(buffer, "Hallo ", 6);
     return XDS_OK;
     }

CVSTrac 2.0.1