diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2021-10-24 09:05:42 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2021-10-24 09:05:42 +0000 |
commit | cd65bbdb91c53d70ad2d1a41b7024618b15cb031 (patch) | |
tree | 8e9820606239b1633ddacb430d1fe7e253d057ab /regress | |
parent | 1331d46bc08b5d8a6933b04e286917c20777995f (diff) |
Anther day another broken test-http.c report from anton@
Adjust code again.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.sbin/rpki-client/test-http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.sbin/rpki-client/test-http.c b/regress/usr.sbin/rpki-client/test-http.c index 78565883131..827edb70898 100644 --- a/regress/usr.sbin/rpki-client/test-http.c +++ b/regress/usr.sbin/rpki-client/test-http.c @@ -30,13 +30,13 @@ http_request(size_t id, const char *uri, const char *last_mod, int fd) { struct ibuf *b; - b = io_buf_new(); + b = io_new_buffer(); io_simple_buffer(b, &id, sizeof(id)); io_str_buffer(b, uri); io_str_buffer(b, last_mod); /* pass file as fd */ b->fd = fd; - io_buf_close(&httpq, b); + io_close_buffer(&httpq, b); } static const char * |