aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormyk%mozilla.org <>2004-10-21 06:00:45 +0000
committermyk%mozilla.org <>2004-10-21 06:00:45 +0000
commitb50ddb431c7dcc0ce21a963c5140c6c7f5f8398d (patch)
treebdbc44ff88f812840a9ceaffb19d45d82f967501 /collectstats.pl
parentPatch for bug 232155: Remove uninitialized value warning from Pperl's Cookie.... (diff)
downloadbugzilla-b50ddb431c7dcc0ce21a963c5140c6c7f5f8398d.tar.gz
bugzilla-b50ddb431c7dcc0ce21a963c5140c6c7f5f8398d.tar.bz2
bugzilla-b50ddb431c7dcc0ce21a963c5140c6c7f5f8398d.zip
Fix for bug 265240: make collectstats generate valid RDF by not cutting off the opening RDF tag; r=kiko, a=myk
Diffstat (limited to 'collectstats.pl')
-rwxr-xr-xcollectstats.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/collectstats.pl b/collectstats.pl
index c1c269b94..23d01bbc4 100755
--- a/collectstats.pl
+++ b/collectstats.pl
@@ -103,7 +103,7 @@ CollectSeriesData();
my $headers_done = 0;
while (<CGI>) {
print RDF if $headers_done;
- $headers_done = 1 if $_ eq "\n";
+ $headers_done = 1 if $_ eq "\r\n";
}
close CGI;
close RDF;