]> git.openstreetmap.org Git - rails.git/blobdiff - lib/potlatch.rb
Avoid lego translations for coordinates
[rails.git] / lib / potlatch.rb
index 3e4ddfaf3d2a02a2bfe9d8c4c32518e9fd217d79..75b81bbc5dbc48a75d4b0f6aeca4cc1ce3bab755 100644 (file)
@@ -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