]> granicus.if.org Git - mutt/commitdiff
[patch-0.94.6i.oe.dprint2.1] Fix a segmentation fault when running
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 16 Sep 1998 20:06:43 +0000 (20:06 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 16 Sep 1998 20:06:43 +0000 (20:06 +0000)
in -d2 mode.

copy.c

diff --git a/copy.c b/copy.c
index 5e04a74d0c85c48b6b01a5df53f20c5921984ee6..9280c4b3891489af570fdf0a89bf3162cec21c4e 100644 (file)
--- a/copy.c
+++ b/copy.c
@@ -172,8 +172,7 @@ mutt_copy_hdr (FILE *in, FILE *out, long off_start, long off_end, int flags,
        {
          if (!strncasecmp (buf, t->data, strlen (t->data)))
          {
-           dprint(2, (debugfile, "Reorder: %s matches %s\n", t->data, 
-                      headers[x]));
+           dprint(2, (debugfile, "Reorder: %s matches %s", t->data, buf));
            break;
          }
        }