* coroutines
 * string
modified:
 * http: fixed a couple of bugs
 * strutils: renamed to os, it is now a header for some generic platform-indipendent code
 * tracelog: added option to not print newline at the end of a message + bug fixes
This commit is contained in:
snarmph 2021-10-05 17:57:27 +02:00
parent d8b44c1281
commit bb5cce33f0
15 changed files with 523 additions and 76 deletions

4
http.c
View file

@ -4,7 +4,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "strutils.h"
#include "os.h"
#include "tracelog.h"
// == INTERNAL ================================================================
@ -282,7 +282,7 @@ http_response_t hcliSendRequest(http_client_t *ctx, http_request_t *req) {
http_response_t res = resInit();
char *request_str = NULL;
str_ostream_t received = ostrInit(1024);
str_ostream_t received = ostrInitLen(1024);
if(!skInit()) {
err("couldn't initialize sockets %s", skGetErrorString());