summaryrefslogtreecommitdiff
path: root/mail/squirrelmail-devel/files/patch-functions-imap_messages.php
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-03-20 14:53:03 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-03-20 14:53:03 +0000
commit32d1173dbca478bab65a08a5b3a3a1f0394adf2f (patch)
tree133a376d6ca5e1993d784d34d3ab43b3c5716a74 /mail/squirrelmail-devel/files/patch-functions-imap_messages.php
parentupgrade to 2.1.1 (diff)
- Fix error while reading an already read mail which is caused by
incorrect constant passed to preg_split() - Correct recipient address in return receipt These are submitted to upstream, too. PR: ports/108519, ports/108521 Submitted by: Cristian KLEIN <cristi at net.utcluj.ro> Approved by: maintainer timeout (7 weeks)
Notes
Notes: svn path=/head/; revision=187794
Diffstat (limited to 'mail/squirrelmail-devel/files/patch-functions-imap_messages.php')
-rw-r--r--mail/squirrelmail-devel/files/patch-functions-imap_messages.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/mail/squirrelmail-devel/files/patch-functions-imap_messages.php b/mail/squirrelmail-devel/files/patch-functions-imap_messages.php
new file mode 100644
index 000000000000..99bae8349db3
--- /dev/null
+++ b/mail/squirrelmail-devel/files/patch-functions-imap_messages.php
@@ -0,0 +1,12 @@
+--- functions/imap_messages.php.orig Sun Feb 12 20:21:50 2006
++++ functions/imap_messages.php Mon Jan 22 20:14:11 2007
+@@ -923,7 +923,7 @@
+ if ($read) {
+ if (preg_match('/.+FLAGS\s\((.*)\)\s/AUi',$read[0],$regs)) {
+ if (trim($regs[1])) {
+- $flags = preg_split('/ /', $regs[1],-1,'PREG_SPLIT_NI_EMPTY');
++ $flags = preg_split('/ /', $regs[1],-1,PREG_SPLIT_NO_EMPTY);
+ }
+ }
+ } else {
+