]> granicus.if.org Git - mutt/commitdiff
Fix postponing of PGP messages.
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 13 Jan 1999 10:43:52 +0000 (10:43 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 13 Jan 1999 10:43:52 +0000 (10:43 +0000)
postpone.c

index 74cda2683bec51eaf17f55e0a0ef1d6c0940dfbd..f4083fd1412d66db37dbb03f10ee1b72a16b263a 100644 (file)
@@ -278,7 +278,7 @@ int mutt_get_postponed (CONTEXT *ctx, HEADER *hdr, HEADER **cur, char *fcc, size
                                                       */
             || mutt_strncmp ("X-Mutt-PGP:", tmp->data, 11) == 0)
     {
-      hdr->pgp = mutt_parse_pgp_hdr (tmp->data+4, 1);
+      hdr->pgp = mutt_parse_pgp_hdr (strchr (tmp->data, ':') + 1, 1);
        
       /* remove the pgp field */
       next = tmp->next;