]> granicus.if.org Git - mutt/commitdiff
Some debugging helpers.
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 15 Jan 2001 10:40:50 +0000 (10:40 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 15 Jan 2001 10:40:50 +0000 (10:40 +0000)
copy.c

diff --git a/copy.c b/copy.c
index b1f5d3590f9b4be57dd700c35ab43465bcc6e1e7..5729041058f473652b819e7c7562f128fdbc306b 100644 (file)
--- a/copy.c
+++ b/copy.c
@@ -175,7 +175,7 @@ mutt_copy_hdr (FILE *in, FILE *out, long off_start, long off_end, int flags,
        {
          if (!mutt_strncasecmp (buf, t->data, mutt_strlen (t->data)))
          {
-           dprint(2, (debugfile, "Reorder: %s matches %s", t->data, buf));
+           dprint(2, (debugfile, "Reorder: %s matches %s\n", t->data, buf));
            break;
          }
        }
@@ -186,6 +186,7 @@ mutt_copy_hdr (FILE *in, FILE *out, long off_start, long off_end, int flags,
 
     if (!ignore)
     {
+      dprint (2, (debugfile, "Reorder: x = %d; hdr_count = %d\n", x, hdr_count));
       /* Save the header in headers[x] */
       if (!headers[x])
        headers[x] = safe_strdup (buf);