ossp-pkg/xds/xds.c 1.4 -> 1.5
--- xds.c 2001/08/09 20:59:05 1.4
+++ xds.c 2001/08/09 21:00:10 1.5
@@ -295,6 +295,10 @@
int rc;
va_list args;
+ /* Sanity checks. */
+ xds_check_parameter(xds != NULL);
+ xds_check_parameter(fmt != NULL);
+
va_start(args, fmt);
rc = xds_vencode(xds, fmt, args);
va_end(args);
@@ -423,6 +427,10 @@
int rc;
va_list args;
+ /* Sanity checks. */
+ xds_check_parameter(xds != NULL);
+ xds_check_parameter(fmt != NULL);
+
va_start(args, fmt);
rc = xds_vdecode(xds, fmt, args);
va_end(args);
|
|