ossp-pkg/xds/unregister.c 1.4 -> 1.4.2.1
--- unregister.c 2001/07/09 17:23:38 1.4
+++ unregister.c 2001/08/01 09:55:58 1.4.2.1
@@ -38,10 +38,8 @@
/* Sanity checks. */
- assert(xds != NULL);
- assert(name != NULL);
- if (xds == NULL || name == NULL)
- return XDS_ERR_INVALID_ARG;
+ xds_check_parameter(xds != NULL);
+ xds_check_parameter(name != NULL);
for(pos = 0; name[pos] != '\0'; ++pos)
{
if (!isalnum(name[pos]) && name[pos] != '-' && name[pos] != '_')
|
|