mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-14 10:20:01 +00:00
Merge pull request #1672 from cesanta/webui-push-rest
Change argument of %M handler to mg_pfn_t as in huge_response
This commit is contained in:
1 file changed
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user