diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-03-03 01:05:37 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-03-03 11:16:13 -0800 |
commit | aa55c23abafa1c1f6b13cc16d7ef36f16923aa1a (patch) | |
tree | b0c4ffdd195dfa770c9240412c168697f6c1ea2b | |
parent | 40fadd79cee6a26fc124ad42297754b88d5c59e5 (diff) | |
download | unicorn-aa55c23abafa1c1f6b13cc16d7ef36f16923aa1a.tar.gz |
fix typo (DEFAULT_LISTENER => DEFAULT_LISTEN)
-rw-r--r-- | lib/unicorn.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |