OSSP CVS Repository

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

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

--- xds-engine-restart.c 2001/08/01 11:27:20     1.1.2.1
+++ xds-engine-restart.c 2001/08/01 12:05:07     1.1.2.2
@@ -68,7 +68,11 @@
         printf("The varadic argument is not what the engine expected!\n");
         exit(1);
         }
-    return 64;
+    if (buffer_size < 64)
+        return XDS_ERR_OVERFLOW;
+    else
+        *used_buffer_size = 64;
+    return XDS_OK;
     }
 
 int main()

CVSTrac 2.0.1