diff options
Diffstat (limited to 'src/response.c')
| -rw-r--r-- | src/response.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/response.c b/src/response.c index cdcaef3..96e27cf 100644 --- a/src/response.c +++ b/src/response.c @@ -27,9 +27,9 @@ char *LibHTTPC_dumpResponse(struct LibHTTPC_Response *response, char *buf, size_ append("\r\n"); for (size_t i = 0; i < response->header_count; ++i) { - append(response->header_names[i]); + append(response->headers[i].name); append(": "); - append(response->header_values[i]); + append(response->headers[i].value); append("\r\n"); } append("\r\n"); |