help-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch for Gnatsweb v4.00: Reporter's email not changed


From: Dieperink Alwin
Subject: Patch for Gnatsweb v4.00: Reporter's email not changed
Date: Wed, 12 May 2004 18:10:01 +0200

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;
       }
     }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]