Fix an ABI breakage found after the import that will be part of the
next version of sendmail. Putting it in now for the upcoming 7-BETA and 6-BETA test releases. Submitted by: Mike Tancsa
This commit is contained in:
parent
b20f0ed118
commit
dbe6d91e5c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182675
@ -52,7 +52,8 @@ smfi_register(smfilter)
|
|||||||
(void) sm_strlcpy(smfi->xxfi_name, smfilter.xxfi_name, len);
|
(void) sm_strlcpy(smfi->xxfi_name, smfilter.xxfi_name, len);
|
||||||
|
|
||||||
/* compare milter version with hard coded version */
|
/* compare milter version with hard coded version */
|
||||||
if (smfi->xxfi_version != SMFI_VERSION &&
|
if ((SM_LM_VRS_MAJOR(smfi->xxfi_version) != SM_LM_VRS_MAJOR(SMFI_VERSION) ||
|
||||||
|
SM_LM_VRS_MINOR(smfi->xxfi_version) != SM_LM_VRS_MINOR(SMFI_VERSION)) &&
|
||||||
smfi->xxfi_version != 2 &&
|
smfi->xxfi_version != 2 &&
|
||||||
smfi->xxfi_version != 3 &&
|
smfi->xxfi_version != 3 &&
|
||||||
smfi->xxfi_version != 4)
|
smfi->xxfi_version != 4)
|
||||||
|
Loading…
Reference in New Issue
Block a user