From: Don Armstrong Date: Wed, 19 Aug 2009 06:06:20 +0000 (-0700) Subject: fix x-loop addition X-Git-Tag: release/2.6.0~443^2 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=1283e9e2e6d31ec006d6a5dcc9a18b2e028db58c fix x-loop addition --- diff --git a/scripts/process b/scripts/process index 4d89eec..f0047db 100755 --- a/scripts/process +++ b/scripts/process @@ -721,8 +721,10 @@ if (length($resentccval)) { my $common_headers=''; { - local $a = 0; - $common_headers = join('',map {$_.($a++%2?': ':"\n")} @common_headers); + my @tmp = @common_headers; + while (my ($key,$value) = splice(@tmp, 0,2)) { + $common_headers .= qq($key: $value\n); + } } if ($codeletter eq 'U') { # sent to -submitter &htmllog("Message", "sent on", $data->{originator}, "$gBug#$ref.");