diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2021-04-25 18:23:00 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2021-04-25 18:23:00 +0200 |
commit | 397cd035a40ddbc3abff2d77cb4bf6e936266944 (patch) | |
tree | d1208c4bb0f56b8ae36d9c046cbc74462e1c0ede /ot_http.c | |
parent | 95f1780f0b6229a6f52b6dbad1a645b4e91c6b06 (diff) |
Turn mmaps into malloc
Diffstat (limited to 'ot_http.c')
-rw-r--r-- | ot_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -125,7 +125,7 @@ ssize_t http_sendiovecdata( const int64 sock, struct ot_workstruct *ws, int iove | |||
125 | struct http_data *cookie = io_getcookie( sock ); | 125 | struct http_data *cookie = io_getcookie( sock ); |
126 | char *header; | 126 | char *header; |
127 | int i; | 127 | int i; |
128 | size_t header_size, size = iovec_length( &iovec_entries, &iovector ); | 128 | size_t header_size, size = iovec_length( &iovec_entries, (const struct iovec **)&iovector ); |
129 | tai6464 t; | 129 | tai6464 t; |
130 | 130 | ||
131 | /* No cookie? Bad socket. Leave. */ | 131 | /* No cookie? Bad socket. Leave. */ |