mirror of
https://github.com/simon987/sist2.git
synced 2025-12-14 15:59:03 +00:00
Adjust some structs
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
__always_inline
|
||||
parse_job_t *create_fs_parse_job(const char *filepath, const struct stat *info, int base) {
|
||||
int len = (int) strlen(filepath);
|
||||
parse_job_t *job = malloc(sizeof(parse_job_t) + len);
|
||||
parse_job_t *job = malloc(sizeof(parse_job_t));
|
||||
|
||||
strcpy(job->filepath, filepath);
|
||||
job->base = base;
|
||||
|
||||
Reference in New Issue
Block a user