diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /mail-filter/amavisd-milter/files/amavisd-milter-1.6.0-policybank.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'mail-filter/amavisd-milter/files/amavisd-milter-1.6.0-policybank.patch')
-rw-r--r-- | mail-filter/amavisd-milter/files/amavisd-milter-1.6.0-policybank.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mail-filter/amavisd-milter/files/amavisd-milter-1.6.0-policybank.patch b/mail-filter/amavisd-milter/files/amavisd-milter-1.6.0-policybank.patch new file mode 100644 index 000000000000..afbdefc55c80 --- /dev/null +++ b/mail-filter/amavisd-milter/files/amavisd-milter-1.6.0-policybank.patch @@ -0,0 +1,20 @@ +--- amavisd-milter/mlfi.c 22 Apr 2013 00:36:12 -0000 1.60 ++++ amavisd-milter/mlfi.c 13 Jan 2015 17:00:47 -0000 +@@ -695,14 +695,14 @@ + l = 0; + *mlfi->mlfi_amabuf = '\0'; + if ((policybank_from_daemon_name == 1) && (mlfi->mlfi_daemon_name != NULL)) { +- l += snprintfcat(0, mlfi->mlfi_amabuf, mlfi->mlfi_amabuf_length, ++ l += snprintfcat(l, mlfi->mlfi_amabuf, mlfi->mlfi_amabuf_length, + "%s", mlfi->mlfi_daemon_name); + } + if (auth_type != NULL) { + if (l > 0) { +- l += snprintfcat(0, mlfi->mlfi_amabuf, mlfi->mlfi_amabuf_length, ","); ++ l += snprintfcat(l, mlfi->mlfi_amabuf, mlfi->mlfi_amabuf_length, ","); + } +- l += snprintfcat(0, mlfi->mlfi_amabuf, mlfi->mlfi_amabuf_length, ++ l += snprintfcat(l, mlfi->mlfi_amabuf, mlfi->mlfi_amabuf_length, + "SMTP_AUTH,SMTP_AUTH_%s", auth_type); + if (auth_ssf != NULL && *auth_ssf != '\0') { + l += snprintfcat(l, mlfi->mlfi_amabuf, mlfi->mlfi_amabuf_length, |