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()
|
|