mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
Change argument of %M handler to mg_pfn_t as in huge_response
This commit is contained in:
parent
e48e353066
commit
4f012d6bc6
@ -26,7 +26,7 @@ static long getparam(struct mg_http_message *hm, const char *json_path) {
|
||||
return dv;
|
||||
}
|
||||
|
||||
static size_t printdata(void (*out)(char, void *), void *ptr, va_list *ap) {
|
||||
static size_t printdata(mg_pfn_t out, void *ptr, va_list *ap) {
|
||||
const char *comma = "";
|
||||
size_t n = 0;
|
||||
for (int i = 0; i < DATA_SIZE; ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user