oops, &pattern
authorJeffrey Stedfast <fejj@src.gnome.org>
Sun, 15 Apr 2001 21:54:12 +0000 (21:54 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Sun, 15 Apr 2001 21:54:12 +0000 (21:54 +0000)
camel/camel-mime-utils.c

index 1d87300..5103233 100644 (file)
@@ -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);