summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/torsmo/files/torsmo-0.17-mozilla.patch')
-rw-r--r--app-admin/torsmo/files/torsmo-0.17-mozilla.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-admin/torsmo/files/torsmo-0.17-mozilla.patch b/app-admin/torsmo/files/torsmo-0.17-mozilla.patch
new file mode 100644
index 000000000000..4a348a589005
--- /dev/null
+++ b/app-admin/torsmo/files/torsmo-0.17-mozilla.patch
@@ -0,0 +1,17 @@
+--- torsmo-orig/torsmo.c 2004-05-25 13:58:51.000000000 +0300
++++ torsmo-0.17/torsmo.c 2004-08-16 08:24:36.080635032 +0300
+@@ -342,6 +342,14 @@
+ }
+ }
+ else {
++ if (reading_status && strncmp(buf, "X-Mozilla-Status:", 17) == 0) {
++ /* check that mail isn't already read */
++ if (strchr(buf+21, '0'))
++ new_mail_count++;
++
++ reading_status = 0;
++ continue;
++ }
+ if (reading_status && strncmp(buf, "Status:", 7) == 0) {
+ /* check that mail isn't already read */
+ if (strchr(buf+7, 'R') == NULL)