Minor fix

* src/list.c (transform_stat_info): Modify argument pointer,
not the global variable.
This commit is contained in:
Sergey Poznyakoff
2025-05-06 09:39:38 +03:00
parent b5f4948ce4
commit bfc3346394

View File

@@ -159,7 +159,7 @@ transform_stat_info (char typeflag, struct tar_stat_info *stat_info)
}
if (one_top_level_option)
enforce_one_top_level (&current_stat_info.file_name);
enforce_one_top_level (&stat_info->file_name);
}
/* Main loop for reading an archive. */