diff options
author | Gabor Kovesdan <gabor@FreeBSD.org> | 2006-12-12 20:32:45 +0000 |
---|---|---|
committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2006-12-12 20:32:45 +0000 |
commit | 18ad4ae1da21f605eea4cdc8415ad1ced6844ecd (patch) | |
tree | a4e83d562597eded20eb52241235348ea126ba30 /mail/courier/files/patch-courier__submit.C | |
parent | - Update to 4.20 (diff) |
- Update to 0.53.3
- Patch for function name collision (fam support)
- Remove deprecated USE_RCORDER
- Pass maintainership to submitter
- portlint(1)
PR: ports/105573
Submitted by: Milan Obuch<bsd@dino.sk>
Approved by: erwin (mentor), maintainer timeout
Notes
Notes:
svn path=/head/; revision=179601
Diffstat (limited to 'mail/courier/files/patch-courier__submit.C')
-rw-r--r-- | mail/courier/files/patch-courier__submit.C | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/mail/courier/files/patch-courier__submit.C b/mail/courier/files/patch-courier__submit.C new file mode 100644 index 000000000000..ad3ac19f74b0 --- /dev/null +++ b/mail/courier/files/patch-courier__submit.C @@ -0,0 +1,54 @@ +--- courier/submit.C.orig Fri Apr 22 21:38:00 2005 ++++ courier/submit.C Fri Apr 22 21:38:00 2005 +@@ -531,6 +531,7 @@ + (*hdrOut) += str; + (*hdrOut) += " ("; + (*hdrOut) += errmsg_buf; ++/* + (*hdrOut) += ")\n SPF="; + (*hdrOut) += checkname; + (*hdrOut) += ";\n"; +@@ -550,6 +551,43 @@ + (*hdrOut) += v ? v:strerror(errno); + (*hdrOut) += ";\n"; + } ++*/ ++ (*hdrOut) += ")\n "; ++ (*hdrOut) += checkname; ++ { ++ char *v=strdup(values[0] ? values[0] : ""); ++ ++ for (q=v; q && *q; q++) ++ if (*q < ' ' || *q >= 127) ++ *q='?'; ++ else if (*q == ';') ++ *q=' '; ++ (*hdrOut) += " "; ++ (*hdrOut) += v ? v:strerror(errno); ++ } ++ { ++ char *v=strdup(values[2] ? values[2] : ""); ++ ++ for (q=v; q && *q; q++) ++ if (*q < ' ' || *q >= 127) ++ *q='?'; ++ else if (*q == ';') ++ *q=' '; ++ (*hdrOut) += " ("; ++ (*hdrOut) += v ? v:strerror(errno); ++ } ++ { ++ char *v=strdup(values[1] ? values[1] : ""); ++ ++ for (q=v; q && *q; q++) ++ if (*q < ' ' || *q >= 127) ++ *q='?'; ++ else if (*q == ';') ++ *q=' '; ++ (*hdrOut) += " ["; ++ (*hdrOut) += v ? v:strerror(errno); ++ } ++ (*hdrOut) += "]);\n"; + return str; + } + |