summaryrefslogtreecommitdiff
path: root/ot_http.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2021-04-25 18:23:00 +0200
committerDirk Engling <erdgeist@erdgeist.org>2021-04-25 18:23:00 +0200
commit397cd035a40ddbc3abff2d77cb4bf6e936266944 (patch)
treed1208c4bb0f56b8ae36d9c046cbc74462e1c0ede /ot_http.c
parent95f1780f0b6229a6f52b6dbad1a645b4e91c6b06 (diff)
Turn mmaps into malloc
Diffstat (limited to 'ot_http.c')
-rw-r--r--ot_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_http.c b/ot_http.c
index 390878b..6869687 100644
--- a/ot_http.c
+++ b/ot_http.c
@@ -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. */