Fix function pointer warning

This commit is contained in:
Sander van der Burg 2021-02-09 21:31:44 +01:00 committed by Sander van der Burg
parent 25d3af2cbb
commit c69248bb7c
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@
" </body>\n"\
"</html>\n"
static int ahc_echo(void *cls, struct MHD_Connection *connection, const char *url, const char *method, const char *version, const char *upload_data, size_t *upload_data_size, void **ptr)
static enum MHD_Result ahc_echo(void *cls, struct MHD_Connection *connection, const char *url, const char *method, const char *version, const char *upload_data, size_t *upload_data_size, void **ptr)
{
static int dummy;
const char *page = cls;