1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

createClient was ignoring the host arg

This commit is contained in:
Orion Henry
2010-09-22 13:16:33 -07:00
parent e16ead396e
commit 6c36ed09c0

View File

@@ -696,7 +696,7 @@ RedisClient.prototype.MULTI = function (commands) {
exports.createClient = function (port_arg, host_arg, options) {
var port = port_arg || default_port,
host = host || default_host,
host = host_arg || default_host,
red_client, net_client;
net_client = net.createConnection(port, host);