1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-29 13:39:10 +00:00

Fix incorrect callback argument for MHD.

This commit is contained in:
Brenden Matthews 2021-01-24 09:07:24 -06:00
parent 168607829d
commit 617e9f14a2
No known key found for this signature in database
GPG Key ID: B49ABB7270D9D4FD

View File

@ -332,7 +332,7 @@ static conky::simple_config_setting<bool> http_refresh("http_refresh", false,
MHD_Result sendanswer(void *cls, struct MHD_Connection *connection,
const char *url, const char *method, const char *version,
const char *upload_data, unsigned long *upload_data_size,
const char *upload_data, size_t *upload_data_size,
void **con_cls) {
struct MHD_Response *response = MHD_create_response_from_buffer(
webpage.length(), (void *)webpage.c_str(), MHD_RESPMEM_PERSISTENT);