diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2021-10-23 20:01:17 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2021-10-23 20:01:17 +0000 |
commit | 33cbc73f6a405ecbce9ce83e01cbff50dde266ae (patch) | |
tree | bd6641981090665de9335c4312b23719223d8d22 /usr.sbin/rpki-client/rsync.c | |
parent | 659452df70ee955df27dca6725846ee12dd60a81 (diff) |
Rename io_buf_new to io_new_buffer and io_buf_close to io_close_buffer.
With this the write functions are all of the form io_xyz_buffer.
Remove some prototypes of functions I forgot to remove in previous commit.
OK benno@
Diffstat (limited to 'usr.sbin/rpki-client/rsync.c')
-rw-r--r-- | usr.sbin/rpki-client/rsync.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rpki-client/rsync.c b/usr.sbin/rpki-client/rsync.c index 839250b03e7..a1bdd7f3a66 100644 --- a/usr.sbin/rpki-client/rsync.c +++ b/usr.sbin/rpki-client/rsync.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rsync.c,v 1.27 2021/10/23 16:06:04 claudio Exp $ */ +/* $OpenBSD: rsync.c,v 1.28 2021/10/23 20:01:16 claudio Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -216,10 +216,10 @@ proc_rsync(char *prog, char *bind_addr, int fd) ok = 0; } - b = io_buf_new(); + b = io_new_buffer(); io_simple_buffer(b, &ids[i].id, sizeof(size_t)); io_simple_buffer(b, &ok, sizeof(ok)); - io_buf_close(&msgq, b); + io_close_buffer(&msgq, b); free(ids[i].uri); ids[i].uri = NULL; |