X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5ece1572d057d930211fe08ae7f8be3d3e49984d..0e2a66e8de55b3719bd307261058b7f898598994:/lib/potlatch.rb diff --git a/lib/potlatch.rb b/lib/potlatch.rb index 3e4ddfaf3..75b81bbc5 100644 --- a/lib/potlatch.rb +++ b/lib/potlatch.rb @@ -144,7 +144,7 @@ module Potlatch # Output response header a, b = bodies.divmod(256) - yield 0.chr + 0.chr + 0.chr + 0.chr + a.chr + b.chr + yield 0.chr * 4 + a.chr + b.chr # Process the bodies bodies.times do # Read each body