X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ee783bcee9b632eacf834e154d6cf49c87ec121a..c2af89c00e5bcb20981e737abb779ef65acd7b3e:/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