aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/camel-mime-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index 1d873007f6..510323312c 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -3063,9 +3063,9 @@ header_raw_check_mailing_list(struct _header_raw **list)
char *errstr;
size_t len;
- len = regerror (errcode, pattern, NULL, 0);
+ len = regerror (errcode, &pattern, NULL, 0);
errstr = g_malloc0 (len + 1);
- regerror (errcode, pattern, errstr, len);
+ regerror (errcode, &pattern, errstr, len);
g_warning ("Internal error, compiling regex failed: %s: %s",
mail_list_magic[i].pattern, errstr);