summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2024-10-31 13:37:45 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2024-10-31 13:37:45 +0000
commit68e97c43fd49e5c76796ac519b85ced93d29ba2f (patch)
tree1b60610ec4942c878fdd0743140124c8c56bc078 /usr.sbin
parentdb3dd3d8a09b706ae2cb5d3868d6d7a8862607a2 (diff)
Use imsg_get_fd() to extract the fd from an imsg.
OK tb@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/relayd/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/relayd/config.c b/usr.sbin/relayd/config.c
index 83f4ec87fc8..ec7ec873547 100644
--- a/usr.sbin/relayd/config.c
+++ b/usr.sbin/relayd/config.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.c,v 1.46 2024/10/28 19:56:18 tb Exp $ */
+/* $OpenBSD: config.c,v 1.47 2024/10/31 13:37:44 claudio Exp $ */
/*
* Copyright (c) 2011 - 2014 Reyk Floeter <reyk@openbsd.org>
@@ -1181,7 +1181,7 @@ config_getrelayfd(struct relayd *env, struct imsg *imsg)
rlay->rl_tls_cacert_fd = imsg_get_fd(imsg);
break;
case RELAY_FD_CLIENTCACERT:
- rlay->rl_tls_client_ca_fd = imsg->fd;
+ rlay->rl_tls_client_ca_fd = imsg_get_fd(imsg);
break;
}