Skip to content

Commit

Permalink
replace tabs with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
zweifisch committed Jun 30, 2015
1 parent aee09d5 commit 72784e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ function connect(url, socketOptions, openCallback) {

var protocol, fields;
if (typeof url === 'object') {
protocol = (url.protocol || 'amqp') + ':';
sockopts.host = url.hostname;
sockopts.port = url.port || ((protocol === 'amqp:') ? 5672 : 5671);
protocol = (url.protocol || 'amqp') + ':';
sockopts.host = url.hostname;
sockopts.port = url.port || ((protocol === 'amqp:') ? 5672 : 5671);

var user, pass;
if (!url.username) {
Expand Down

0 comments on commit 72784e0

Please sign in to comment.