1
1
mirror of https://github.com/theoludwig/libcproject.git synced 2025-05-21 23:21:15 +02:00

chore: replace missing string_t

This commit is contained in:
2023-06-25 15:17:46 +02:00
parent 682997c0a5
commit 931a0b69ce
4 changed files with 32 additions and 30 deletions

View File

@ -27,7 +27,7 @@ int filesystem_write(string_t path, byte_t *file_content, off_t file_size) {
return 0;
}
char *filesystem_get_mimetype(string_t path) {
string_t filesystem_get_mimetype(string_t path) {
if (string_ends_with(path, ".html")) {
return "text/html";
}