You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new GEN_SAFE_TIMEOUTREAD and GEN_SAFE_TIMEOUTWRITE makros allow to pass the name of a filedescriptor. This one is used to actually do the underlying read and write operations. However these functions get a fd argument passed. In some cases the descriptor passed to these makros actually isfd. This is not specific to the makros, the code was actually the same before.
Actually using fd are:
qmail-pop3d.c
qmail-popup.c
qmail-smtpd.c
The argument is ignored and a hardcoded descriptor is used in:
qmail-qmqpc.c
qmail-remote.c
However I think that they are actually always identical, i.e. these functions could just use the fd argument and remove the makro argument entirely.
The text was updated successfully, but these errors were encountered:
The new
GEN_SAFE_TIMEOUTREAD
andGEN_SAFE_TIMEOUTWRITE
makros allow to pass the name of a filedescriptor. This one is used to actually do the underlying read and write operations. However these functions get afd
argument passed. In some cases the descriptor passed to these makros actually isfd
. This is not specific to the makros, the code was actually the same before.Actually using
fd
are:The argument is ignored and a hardcoded descriptor is used in:
However I think that they are actually always identical, i.e. these functions could just use the
fd
argument and remove the makro argument entirely.The text was updated successfully, but these errors were encountered: