summaryrefslogtreecommitdiff
path: root/lib/webrick/utils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/webrick/utils.rb')
-rw-r--r--lib/webrick/utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webrick/utils.rb b/lib/webrick/utils.rb
index 606ede5..5be4db8 100644
--- a/lib/webrick/utils.rb
+++ b/lib/webrick/utils.rb
@@ -63,7 +63,7 @@ module WEBrick
# Creates TCP server sockets bound to +address+:+port+ and returns them.
#
# It will create IPV4 and IPV6 sockets on all interfaces.
- def create_listeners(address, port, logger=nil)
+ def create_listeners(address, port)
unless port
raise ArgumentError, "must specify port"
end