* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: check.c,v 1.75 2006/06/04 23:17:06 marka Exp $ */
+/* $Id: check.c,v 1.76 2006/08/21 00:11:43 marka Exp $ */
/*! \file */
"'%s' is not a valid name", str);
result = tresult;
}
- if (tresult == ISC_R_SUCCESS &&
- strcasecmp(cfg_obj_asstring(matchtype), "wildcard") == 0 &&
- !dns_name_iswildcard(dns_fixedname_name(&fixed))) {
- cfg_obj_log(identity, logctx, ISC_LOG_ERROR,
- "'%s' is not a wildcard", str);
- result = ISC_R_FAILURE;
- }
dns_fixedname_init(&fixed);
str = cfg_obj_asstring(dname);
"'%s' is not a valid name", str);
result = tresult;
}
+ if (tresult == ISC_R_SUCCESS &&
+ strcasecmp(cfg_obj_asstring(matchtype), "wildcard") == 0 &&
+ !dns_name_iswildcard(dns_fixedname_name(&fixed))) {
+ cfg_obj_log(identity, logctx, ISC_LOG_ERROR,
+ "'%s' is not a wildcard", str);
+ result = ISC_R_FAILURE;
+ }
for (element2 = cfg_list_first(typelist);
element2 != NULL;