diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-08 00:52:18 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-08 00:52:18 -0500 |
| commit | 930c09f46d1e249fc889e8f1179046a48c1eaf32 (patch) | |
| tree | 4900307e726dcbc643b12341a9bb7168edebdff5 /files.c | |
| parent | ee0f45e2959484d390c30a8a1430a0f040f56631 (diff) | |
More features and progress
Diffstat (limited to 'files.c')
| -rw-r--r-- | files.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -91,6 +91,7 @@ static sss_file_t *_load_file(const char* filename, FILE *file) memcpy(copy, file_buf, file_size); copy[file_size] = '\0'; ret->text = copy; + ret->len = file_size; fclose(mem); free(file_buf); |
