forked from poz/modfetch
Compare commits
2 commits
9361c68611
...
3062c78d8e
Author | SHA1 | Date | |
---|---|---|---|
3062c78d8e | |||
76fd2153a9 |
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@ Config parse_config(FILE *config_file) {
|
|||
in_config = true;
|
||||
// get rid of the '{'
|
||||
strncpy(current_path, line, (size_t)read - 2);
|
||||
current_path[read - 2] = '\0';
|
||||
|
||||
current_module.path = process_str(current_path);
|
||||
current_module.config = malloc(INITIAL_CONFIG_SIZE * sizeof(char*));
|
||||
|
|
Loading…
Reference in a new issue