- for (num = 1, ep = path; (ep = strchr(ep, '/')); num++, ep++);
- tp->tags = odr_malloc(o, sizeof(Z_ETagUnit*)*num);
-
- for ((ep = strchr(path, '/')) ; path ; (void)((path = ep) &&
- (ep = strchr(path, '/'))))
+ for (num = 1, ep = path; (ep = strchr(ep, '/')); num++, ep++)
+ ;
+ tp->tags = (Z_ETagUnit **)
+ nmem_malloc(nmem, sizeof(Z_ETagUnit*)*num);
+
+ for ((ep = strchr(path, '/')) ; path ;
+ (void)((path = ep) && (ep = strchr(path, '/'))))