From 6012c245178f070f224a17dba819832e6302ab44 Mon Sep 17 00:00:00 2001 From: claudio Date: Sun, 24 Oct 2021 09:05:41 +0000 Subject: [PATCH] Anther day another broken test-http.c report from anton@ Adjust code again. --- regress/usr.sbin/rpki-client/test-http.c | 4 ++-- 1 file 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 * -- 2.20.1