From aa55c23abafa1c1f6b13cc16d7ef36f16923aa1a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 3 Mar 2009 01:05:37 -0800 Subject: fix typo (DEFAULT_LISTENER => DEFAULT_LISTEN) --- lib/unicorn.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/unicorn.rb b/lib/unicorn.rb index d5867b1..7415c12 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -87,7 +87,7 @@ module Unicorn # objects; we need to prevent Socket objects from being garbage-collected config_listeners -= listener_names config_listeners.each { |addr| listen(addr) } - listen(Const::DEFAULT_LISTENER) if @listeners.empty? + listen(Const::DEFAULT_LISTEN) if @listeners.empty? self.pid = @config[:pid] build_app! if @preload_app $stderr.reopen(@stderr_path, "a") if @stderr_path -- cgit v1.2.3-24-ge0c7