[gmime/gmime-2-4] fix non-GLib regex
- From: Jeffrey Stedfast <fejj src gnome org>
- To: svn-commits-list gnome org
- Subject: [gmime/gmime-2-4] fix non-GLib regex
- Date: Fri, 12 Jun 2009 09:51:30 -0400 (EDT)
commit 385338e5c13333e05a45fb55fc095f3cb01811fa
Author: Jeffrey Stedfast <fejj gnome org>
Date: Fri Jun 12 09:50:58 2009 -0400
fix non-GLib regex
2009-06-12 Jeffrey Stedfast <fejj novell com>
* gmime/gmime-parser.c (g_mime_parser_set_header_regex): Fix
non-GLib regex initialization to actually compile.
ChangeLog | 5 +++++
gmime/gmime-parser.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 835760c..97094bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-12 Jeffrey Stedfast <fejj novell com>
+
+ * gmime/gmime-parser.c (g_mime_parser_set_header_regex): Fix
+ non-GLib regex initialization to actually compile.
+
2009-05-07 Jeffrey Stedfast <fejj novell com>
* gmime/gmime-stream-fs.c (stream_read): Removed gross hack.
diff --git a/gmime/gmime-parser.c b/gmime/gmime-parser.c
index f196ca1..f4e68f3 100644
--- a/gmime/gmime-parser.c
+++ b/gmime/gmime-parser.c
@@ -974,7 +974,7 @@ header_parse (GMimeParser *parser, HeaderRaw **tail)
header->offset, priv->user_data);
#elif defined (HAVE_REGEX_H)
if (priv->have_regex &&
- !regexec (&priv->header_regex, header->name, 0, NULL, 0))
+ !regexec (&priv->regex, header->name, 0, NULL, 0))
priv->header_cb (parser, header->name, header->value,
header->offset, priv->user_data);
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]