2005-11-08 [colin] 1.9.100cvs3
authorColin Leroy <colin@colino.net>
Tue, 8 Nov 2005 17:28:54 +0000 (17:28 +0000)
committerColin Leroy <colin@colino.net>
Tue, 8 Nov 2005 17:28:54 +0000 (17:28 +0000)
        * src/procmime.c
                Fix what looks like an off-by-one (fixes
                attachments from the Bat)

ChangeLog
PATCHSETS
configure.ac
src/procmime.c

index 7f15d626a374b49ba958086015d4bfbf692df15e..85a26cff6fc5eb42e6b8c6db3a281a9ade312774 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-11-08 [colin]     1.9.100cvs3
+
+       * src/procmime.c
+               Fix what looks like an off-by-one (fixes 
+               attachments from the Bat)
+
 2005-11-08 [wwp]       1.9.100cvs2
 
        * src/main.c
index b084c5cae6d35c52c71a586b20ded397f8e65c82..025eb13237428cfd897f28dacd84d5ee85514179 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.13.2.3 -r 1.13.2.4 src/addritem.c;  cvs diff -u -r 1.12.2.5 -r 1.12.2.6 src/ldif.c;  ) > 1.9.99cvs17.patchset
 ( cvs diff -u -r 1.115.2.65 -r 1.115.2.66 src/main.c;  ) > 1.9.100cvs1.patchset
 ( cvs diff -u -r 1.115.2.66 -r 1.115.2.67 src/main.c;  ) > 1.9.100cvs2.patchset
+( cvs diff -u -r 1.49.2.67 -r 1.49.2.68 src/procmime.c;  ) > 1.9.100cvs3.patchset
index ed0b3a11f76bcd882776df9a904995fa209e8ee4..1703acb55cb43150bbca93be43122fa5e8f24c44 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=100
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=2
+EXTRA_VERSION=3
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index b2c503cdde3a4e770ceab7fbf56dfa11ca843d22..babf66585c58884d53920f62e838bd2dd6bd685b 100644 (file)
@@ -1421,7 +1421,7 @@ void procmime_parse_multipart(MimeInfo *mimeinfo)
                                                        hentry[2].body, hentry[3].body, 
                                                        hentry[4].body, 
                                                        mimeinfo->data.filename, lastoffset,
-                                                       (ftell(fp) - strlen(buf)) - lastoffset - 1);
+                                                       (ftell(fp) - strlen(buf)) - lastoffset);
                        }
                        
                        if (buf[2 + boundary_len]     == '-' &&