Permalink
Browse files

Merge branch 'server-factory' into dev

  • Loading branch information...
2 parents c01cd92 + 68cee81 commit 2e910cd2539e4689e95faebe786502df8d80c4eb @dekellum committed Aug 19, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/mizuno/http_server.rb
@@ -75,7 +75,9 @@ def stop
end
def create_connectors
- super.each { |c| c.host = @host if @host }
+ super.tap do |ctrs|
+ ctrs.first.host = @host if ctrs.first
+ end
end
end

0 comments on commit 2e910cd

Please sign in to comment.