cvsweb (3:3.0.6-7) 12_484159_fix_character_in_c_format_wrapped.patch

Summary

 cvsweb.cgi |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

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;