projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Needed to escape the { and } in the regexp
[squirrelmail.git]
/
functions
/
imap_general.php
diff --git
a/functions/imap_general.php
b/functions/imap_general.php
index 2848b158b3c0281724a89dcfa364a6b27f14dc8b..1cdd83a0d445716eaf86a63bc1febb8fe0325893 100755
(executable)
--- a/
functions/imap_general.php
+++ b/
functions/imap_general.php
@@
-19,7
+19,7
@@
$read = fgets($imap_stream, 9096);
- if (ereg("^\
* [0-9]+ FETCH.*{([0-9]+)
}", $read, $regs)) {
+ if (ereg("^\
\* [0-9]+ FETCH.*\\{([0-9]+)\\
}", $read, $regs)) {
$size = $regs[1];
} else {
$size = 0;