cvsweb.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Author: Daniel Leidert (dale) <daniel.leidert@wgdd.de>
Description: Fix the "Character in 'c' format wrapped in pack ..." warning. Thanks
to Joey Schulze for catching this issue and the fix.
<URL:http://bugs.debian.org/484159>
--- a/cvsweb.cgi
+++ b/cvsweb.cgi
@@ -4460,7 +4460,7 @@
crc => 0,
len => 0,
};
- my ($header) = pack("c10",
+ my ($header) = pack("C10",
MAGIC1, MAGIC2, Compress::Zlib::Z_DEFLATED(),
0, 0, 0, 0, 0, 0, OSCODE);
print {$o->{handle}} $header;