[gmime] Make sure to always initialize the ascii state variable
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime] Make sure to always initialize the ascii state variable
- Date: Mon, 13 Aug 2012 21:15:19 +0000 (UTC)
commit 4fb70bebfae7c4bbcb44ed92d0f15efbc4dc283c
Author: Jeffrey Stedfast <fejj gnome org>
Date: Mon Aug 13 17:12:48 2012 -0400
Make sure to always initialize the ascii state variable
2012-08-13 Jeffrey Stedfast <jeff xamarin com>
* gmime/gmime-utils.c (tokenize_rfc2047_phrase): Don't forget to
initialize 'ascii' to TRUE.
ChangeLog | 5 +++++
gmime/gmime-utils.c | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 788cb09..5b251ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-13 Jeffrey Stedfast <jeff xamarin com>
+
+ * gmime/gmime-utils.c (tokenize_rfc2047_phrase): Don't forget to
+ initialize 'ascii' to TRUE.
+
2012-08-05 Jeffrey Stedfast <jeff xamarin com>
* gmime/gmime-stream-pipe.c (stream_flush): Pipes and sockets
diff --git a/gmime/gmime-utils.c b/gmime/gmime-utils.c
index dc41bf6..afd2b22 100644
--- a/gmime/gmime-utils.c
+++ b/gmime/gmime-utils.c
@@ -1943,6 +1943,7 @@ tokenize_rfc2047_phrase (const char *in, size_t *len)
lwsp = NULL;
word = inptr;
+ ascii = TRUE;
if (is_atom (*inptr)) {
if (G_UNLIKELY (enable_rfc2047_workarounds)) {
/* Make an extra effort to detect and
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]