static char *traverse_path(const struct traverse_info *info, const struct name_entry *n)
{
char *path = xmallocz(traverse_path_len(info, n));
- return make_traverse_path(path, info, n);
+ return make_traverse_path(path, info, n->path, n->pathlen);
}
static void resolve(const struct traverse_info *info, struct name_entry *ours, struct name_entry *result)