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
@ -52,7 +52,8 @@ smfi_register(smfilter)
|
||||
(void) sm_strlcpy(smfi->xxfi_name, smfilter.xxfi_name, len);
|
||||
|
||||
/* 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 != 3 &&
|
||||
smfi->xxfi_version != 4)
|
||||
|
Loading…
Reference in New Issue
Block a user