Fix semantics of MU_IOCTL_SUBSTREAM.
This also fixes e75e9123, which broke TLS support in daemons. * include/mailutils/stream.h (MU_IOCTL_TOPSTREAM): New ioctl. * imap4d/imap4d.c (set_strerr_flt) (clr_strerr_flt): Use MU_IOCTL_TOPSTREAM. * pop3d/pop3d.c: Likewise. * libmailutils/stream/fltstream.c (filter_ctl): Handle both MU_IOCTL_SUBSTREAM and MU_IOCTL_TOPSTREAM. * libmailutils/stream/iostream.c (_iostream_ctl): Likewise. * libmailutils/stream/logstream.c (_log_ctl): Likewise. * libmailutils/stream/xscript-stream.c (_xscript_ctl): Likewise.
Showing
7 changed files
with
39 additions
and
11 deletions
-
Please register or sign in to post a comment