From 00406c5c7b512d2da239865ff343aaf6cf8b4781 Mon Sep 17 00:00:00 2001 From: Denis Kilchichakov Date: Mon, 28 Aug 2017 23:18:26 +0300 Subject: [PATCH] Fixed annoying warning - `*' interpreted as argument prefix --- lib/em-http-server/response.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/em-http-server/response.rb b/lib/em-http-server/response.rb index 1222adb..272ca25 100644 --- a/lib/em-http-server/response.rb +++ b/lib/em-http-server/response.rb @@ -83,7 +83,7 @@ def set_cookie *ck h = (@headers["Set-cookie"] ||= []) if ck.length > 0 h.clear - add_set_cookie *ck + add_set_cookie(*ck) else h end