summaryrefslogtreecommitdiff
path: root/mail/spamass-milter/files/patch-spamass-milter.cpp
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-06-09 21:16:02 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-06-09 21:16:02 +0000
commit414919193ee63a4b609f43ca86db9a2a4f6994df (patch)
tree2d9868aa9da810407b7f0550f3017c8a577315a5 /mail/spamass-milter/files/patch-spamass-milter.cpp
parentChase a silent bugfix. (diff)
- Update to 0.3.1
- Take maintainership PR: ports/98766 Submitted by: Thomas Abthorpe <thomas@goodking.ca>
Notes
Notes: svn path=/head/; revision=164947
Diffstat (limited to 'mail/spamass-milter/files/patch-spamass-milter.cpp')
-rw-r--r--mail/spamass-milter/files/patch-spamass-milter.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/mail/spamass-milter/files/patch-spamass-milter.cpp b/mail/spamass-milter/files/patch-spamass-milter.cpp
deleted file mode 100644
index 2bef5a151b9c..000000000000
--- a/mail/spamass-milter/files/patch-spamass-milter.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-Index: spamass-milter.cpp
-diff -u spamass-milter.cpp.orig spamass-milter.cpp
---- spamass-milter.cpp.orig Sat Feb 5 16:03:22 2005
-+++ spamass-milter.cpp Fri Mar 24 11:10:53 2006
-@@ -678,9 +678,16 @@
- if (header[field_end-1] == '\r')
- field_end--;
-
-- // Maybe remove the whitespace picked up when a header wraps - this
-- // might actually be a requirement
-- return header.substr( field_start, field_end - field_start );
-+ string data = header.substr( field_start, field_end - field_start );
-+
-+ /* Replace all CRLF pairs with LF */
-+ idx = 0;
-+ while ( (idx = data.find("\r\n", idx)) != string::npos )
-+ {
-+ data.replace(idx,2,"\n");
-+ }
-+
-+ return data;
- }
-
-