mirror of
https://github.com/simon987/sist2.git
synced 2025-04-18 17:56:44 +00:00
remove warning
This commit is contained in:
parent
1520288f19
commit
a18bb81222
@ -243,7 +243,7 @@ void search(struct mg_connection *nc, struct http_message *hm) {
|
||||
free(body);
|
||||
}
|
||||
|
||||
int serve_file_from_url(cJSON *json, index_t *idx, struct mg_connection *nc) {
|
||||
void serve_file_from_url(cJSON *json, index_t *idx, struct mg_connection *nc) {
|
||||
|
||||
const char *path = cJSON_GetObjectItem(json, "path")->valuestring;
|
||||
const char *name = cJSON_GetObjectItem(json, "name")->valuestring;
|
||||
|
Loading…
x
Reference in New Issue
Block a user