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
+2 -1
View File
@@ -1,3 +1,4 @@
#include <stdio.h>
#include <chttp.h>
// This is an example of how to use cHTTP to perform
@@ -46,7 +47,7 @@ int main(void)
);
}
printf("body: %.*s\n", res->body.len, res->body.ptr);
printf("body: %.*s\n", HTTP_UNPACK(res->body));
// When we are done reading from the response object
// we must free the request's resources.