Fix compiler errors

This commit is contained in:
2025-07-20 21:19:58 +02:00
parent 01bf34b58d
commit 3201eac013
29 changed files with 177 additions and 94 deletions
+3 -2
View File
@@ -1,4 +1,5 @@
#include <http.h>
#include <string.h>
#include <chttp.h>
// This example shows how to generate response bodies
// using the zero-copy API.
@@ -18,7 +19,7 @@ int main(void)
HTTP_Request *req;
HTTP_ResponseHandle res;
int ret = http_server_wait(server, &res, &res);
int ret = http_server_wait(server, &req, &res);
if (ret < 0) return -1;
http_response_status(res, 200);