artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e26f531
)
Anther day another broken test-http.c report from anton@
author
claudio
<claudio@openbsd.org>
Sun, 24 Oct 2021 09:05:41 +0000
(09:05 +0000)
committer
claudio
<claudio@openbsd.org>
Sun, 24 Oct 2021 09:05:41 +0000
(09:05 +0000)
Adjust code again.
regress/usr.sbin/rpki-client/test-http.c
patch
|
blob
|
history
diff --git
a/regress/usr.sbin/rpki-client/test-http.c
b/regress/usr.sbin/rpki-client/test-http.c
index
7856588
..
827edb7
100644
(file)
--- 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 *