OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/regression-tests/xds-engine-restart.c versions 1.1 and 1.1.2.1
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/xds/regression-tests/xds-engine-restart.c 1.1 -> 1.1.2.1

--- xds-engine-restart.c 2001/07/18 17:38:37     1.1
+++ xds-engine-restart.c 2001/08/01 11:27:20     1.1.2.1
@@ -29,7 +29,9 @@
 #include <string.h>
 #include "../internal.h"
 
-static int dummy_engine(xds_t* xds, void* engine_context, void* buffer, size_t buffer_size, va_list* args)
+static int dummy_engine(xds_t* xds, void* engine_context,
+                        void* buffer, size_t buffer_size, size_t* used_buffer_size,
+                        va_list* args)
     {
     if (xds == NULL)
         {
@@ -51,6 +53,11 @@
         printf("Buffer size passed to engine is zero!\n");
         exit(1);
         }
+    if (used_buffer_size == NULL)
+        {
+        printf("used_buffer_size pointer passed to engine is NULL!\n");
+        exit(1);
+        }
     if (args == NULL)
         {
         printf("args pointer passed to engine is NULL!\n");

CVSTrac 2.0.1