[evolution-data-server] CamelMimeFilterToHTML - Text can be quoted with different characters than just ">"
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] CamelMimeFilterToHTML - Text can be quoted with different characters than just ">"
- Date: Thu, 30 Oct 2014 14:34:55 +0000 (UTC)
commit 4a603ad585af541060e867edf06035ce59edff6b
Author: Tomas Popela <tpopela redhat com>
Date: Thu Oct 30 15:31:41 2014 +0100
CamelMimeFilterToHTML - Text can be quoted with different characters than just ">"
Pipe character is also quite popular.
camel/camel-mime-filter-tohtml.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/camel/camel-mime-filter-tohtml.c b/camel/camel-mime-filter-tohtml.c
index e49dea1..ef9ed68 100644
--- a/camel/camel-mime-filter-tohtml.c
+++ b/camel/camel-mime-filter-tohtml.c
@@ -132,7 +132,7 @@ citation_depth (const gchar *in,
if (out_skip != NULL)
*out_skip = 0;
- if (*inptr++ != '>')
+ if (!strchr (">|", *inptr++))
goto exit;
#if FOOLISHLY_UNMUNGE_FROM
@@ -150,7 +150,7 @@ citation_depth (const gchar *in,
skip++;
}
- if (inptr >= inend || *inptr++ != '>')
+ if (inptr >= inend || !strchr (">|", *inptr++))
break;
depth++;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]