mirror of
https://github.com/simon987/sist2.git
synced 2025-04-19 18:26:43 +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);
|
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 *path = cJSON_GetObjectItem(json, "path")->valuestring;
|
||||||
const char *name = cJSON_GetObjectItem(json, "name")->valuestring;
|
const char *name = cJSON_GetObjectItem(json, "name")->valuestring;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user