sync with OpenBSD -current

This commit is contained in:
purplerain 2024-02-17 21:37:04 +00:00
parent 329362e59c
commit 22b00c65ca
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
13 changed files with 259 additions and 275 deletions

View file

@ -1,4 +1,4 @@
/* $OpenBSD: rrdp.c,v 1.32 2023/06/23 11:36:24 claudio Exp $ */
/* $OpenBSD: rrdp.c,v 1.33 2024/02/16 11:46:57 tb Exp $ */
/*
* Copyright (c) 2020 Nils Fisher <nils_fisher@hotmail.com>
* Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org>
@ -463,7 +463,7 @@ rrdp_input_handler(int fd)
case RRDP_FILE:
s = rrdp_get(id);
if (s == NULL)
errx(1, "file, rrdp session %u does not exist", id);;
errx(1, "file, rrdp session %u does not exist", id);
if (ibuf_fd_avail(b))
errx(1, "received unexpected fd");
io_read_buf(b, &ok, sizeof(ok));