Use imsg_get_fd() to access the fd passed via imsgs.
authorclaudio <claudio@openbsd.org>
Sat, 20 Jan 2024 09:01:03 +0000 (09:01 +0000)
committerclaudio <claudio@openbsd.org>
Sat, 20 Jan 2024 09:01:03 +0000 (09:01 +0000)
commit510586ace9b1e48cf6ab0f5a87b7657547e6cf37
tree378ab4b61745f92018bcf714ab2272c9aec246c0
parentdf725a82ba061faad4bdfe0e5c13ca4542db9b12
Use imsg_get_fd() to access the fd passed via imsgs.

Most of the conversion is simple there is just log_imsg() that can
no longer display the fd since imsg_get_fd() can only be called once.
OK op@
usr.sbin/smtpd/control.c
usr.sbin/smtpd/enqueue.c
usr.sbin/smtpd/lka.c
usr.sbin/smtpd/mda.c
usr.sbin/smtpd/mproc.c
usr.sbin/smtpd/mta_session.c
usr.sbin/smtpd/queue.c
usr.sbin/smtpd/queue_proc.c
usr.sbin/smtpd/smtp_session.c
usr.sbin/smtpd/smtpd.c