]> granicus.if.org Git - mutt/commitdiff
Make error reporting more verbose.
authorThomas Roessler <roessler@does-not-exist.org>
Fri, 3 Nov 2000 09:53:49 +0000 (09:53 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Fri, 3 Nov 2000 09:53:49 +0000 (09:53 +0000)
init.c

diff --git a/init.c b/init.c
index 9a1fa6ed0009cd7eac198634ba1a957b4b9c4647..6c8fc8bbeb3e714d3448ce1a6aa43bb8548b0c8c 100644 (file)
--- a/init.c
+++ b/init.c
@@ -741,8 +741,8 @@ static void mutt_restore_default (struct option_t *p)
          }
          if (REGCOMP (pp->rx, s, flags) != 0)
          {
-           fprintf (stderr, _("mutt_restore_default: error in regexp: %s\n"),
-                    pp->pattern);
+           fprintf (stderr, _("mutt_restore_default(%s): error in regexp: %s\n"),
+                    p->option, pp->pattern);
            FREE (&pp->pattern);
            regfree (pp->rx);
            FREE (&pp->rx);