aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog3
-rw-r--r--camel/camel-mime-parser.c8
2 files changed, 7 insertions, 4 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index c8e48b9653..aac0e1b5a1 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,8 @@
2002-02-28 Jeffrey Stedfast <fejj@ximian.com>
+ * camel-mime-parser.c: Changed offset variables from int's to
+ off_t's since the system may support large files.
+
* camel-mime-part-utils.c
(camel_mime_part_construct_content_from_parser): Rearrange the
save filter stuff so that we save raw streams for all mime
diff --git a/camel/camel-mime-parser.c b/camel/camel-mime-parser.c
index ea7b75f5ca..dd9c979d63 100644
--- a/camel/camel-mime-parser.c
+++ b/camel/camel-mime-parser.c
@@ -222,17 +222,17 @@ struct _header_scan_state {
int atleast;
- int seek; /* current offset to start of buffer */
+ off_t seek; /* current offset to start of buffer */
int unstep; /* how many states to 'unstep' (repeat the current state) */
unsigned int midline:1; /* are we mid-line interrupted? */
unsigned int scan_from:1; /* do we care about From lines? */
unsigned int scan_pre_from:1; /* do we return pre-from data? */
- int start_of_from; /* where from started */
- int start_of_headers; /* where headers started from the last scan */
+ off_t start_of_from; /* where from started */
+ off_t start_of_headers; /* where headers started from the last scan */
- int header_start; /* start of last header, or -1 */
+ off_t header_start; /* start of last header, or -1 */
/* filters to apply to all content before output */
int filterid; /* id of next filter */