text_buffer bug fixes & Sort option

This commit is contained in:
2020-03-20 20:54:22 -04:00
parent 6e5772f13b
commit 0505303503
14 changed files with 160 additions and 65 deletions

View File

@@ -116,7 +116,7 @@ void *create_bulk_buffer(int max, int *count, size_t *buf_len) {
return buf;
}
void *print_errors(response_t *r) {
void print_errors(response_t *r) {
char * tmp = malloc(r->size + 1);
memcpy(tmp, r->body, r->size);
*(tmp + r->size) = '\0';

File diff suppressed because one or more lines are too long