about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/kcar/response.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kcar/response.rb b/lib/kcar/response.rb
index 94e8825..dba84e6 100644
--- a/lib/kcar/response.rb
+++ b/lib/kcar/response.rb
@@ -113,7 +113,7 @@ class Kcar::Response
     # in the response, we'll just yield a stringified version to our
     # server and pretend it's part of the body.
     trailers = @parser.extract_trailers(@hdr)
-    yield(trailers.map! { |k,v| "#{k}: #{v}\r\n" }.join("") << CRLF)
+    yield(trailers.map! { |k,v| "#{k}: #{v}\r\n" }.join << CRLF)
   end
 
   def each_until_eof