public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* Patch for Gnatsweb v4.00: Reporter's email not changed
@ 2004-05-13  8:47 Dieperink Alwin
  0 siblings, 0 replies; only message in thread
From: Dieperink Alwin @ 2004-05-13  8:47 UTC (permalink / raw)
  To: help-gnats

Hello,

This patch in gnatsweb v4.00 corrects the problem, that the Reporter's
e-mail was not changed in the PR.

Regards
-- Alwin


@@ -1780,15 +1780,15 @@
     # If Reply-To changed, we need to splice the change into the envelope.
     if($fields{'Reply-To'} ne $oldfields{'Reply-To'})
     {
-      if ($fields{'envelope'} =~ /^'Reply-To':/m)
+      if ($fields{'envelope'} =~ /^Reply-To:/m)
       {
         # Replace existing header with new one.
-        $fields{'envelope'} =~ s/^'Reply-To':.*$/'Reply-To':
$fields{'Reply-To'}/m;
+        $fields{'envelope'} =~ s/^Reply-To:.*$/Reply-To:
$fields{'Reply-To'}/m;
       }
       else
       {
         # Insert new header at end (blank line).  Keep blank line at end.
-        $fields{'envelope'} =~ s/^$/'Reply-To': $fields{'Reply-To'}\n/m;
+        $fields{'envelope'} =~ s/^$/Reply-To: $fields{'Reply-To'}\n/m;
       }
     }


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-12 16:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-13  8:47 Patch for Gnatsweb v4.00: Reporter's email not changed Dieperink Alwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).