Fix shadow declaration from last commit
This commit is contained in:
parent
e283daea2a
commit
5138f3ed6d
1 changed files with 1 additions and 1 deletions
|
@ -620,7 +620,7 @@ haggis_node* haggis_create_node(char *file, haggis_hardlink_list *list) {
|
||||||
haggis_node_deinit(node);
|
haggis_node_deinit(node);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
char *target = malloc(res + 1);
|
target = malloc(res + 1);
|
||||||
memcpy(target, pathbuf, (unsigned long)res);
|
memcpy(target, pathbuf, (unsigned long)res);
|
||||||
node->filetype->f_type->target = haggis_filename_init(target);
|
node->filetype->f_type->target = haggis_filename_init(target);
|
||||||
if (node->filetype->f_type->target == NULL) {
|
if (node->filetype->f_type->target == NULL) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue