[gmime] Reset linelen state to 0 when we encounter '\n'
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime] Reset linelen state to 0 when we encounter '\n'
- Date: Sun, 5 May 2013 17:19:04 +0000 (UTC)
commit 57ded321f934f65eacabffb2f7758d2eb017a22e
Author: Jeffrey Stedfast <fejj gnome org>
Date: Sun May 5 13:18:19 2013 -0400
Reset linelen state to 0 when we encounter '\n'
2013-05-05 Jeffrey Stedfast <fejj gnome org>
* gmime/gmime-filter-best.c (filter_filter): Reset the linelen
state to 0 when we encounter a '\n'.
ChangeLog | 5 +++++
gmime/gmime-filter-best.c | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 51a24cb..3961c07 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-05 Jeffrey Stedfast <fejj gnome org>
+
+ * gmime/gmime-filter-best.c (filter_filter): Reset the linelen
+ state to 0 when we encounter a '\n'.
+
2013-05-04 Jeffrey Stedfast <fejj gnome org>
* gmime/gmime-part-iter.c: Modified to work for non-multipart
diff --git a/gmime/gmime-filter-best.c b/gmime/gmime-filter-best.c
index a81aa07..c173111 100644
--- a/gmime/gmime-filter-best.c
+++ b/gmime/gmime-filter-best.c
@@ -155,6 +155,7 @@ filter_filter (GMimeFilter *filter, char *inbuf, size_t inlen, size_t prespace,
best->maxline = MAX (best->maxline, best->linelen);
best->startline = TRUE;
best->midline = FALSE;
+ best->linelen = 0;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]