Skip to content

Commit

Permalink
playing nice with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsheehan committed Apr 13, 2012
1 parent a3a1c86 commit f6c1aec
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/ServiceStack.Redis/RedisNativeClient.cs
Expand Up @@ -104,19 +104,19 @@ internal IRedisPipelineShared Pipeline
public RedisNativeClient(string host) public RedisNativeClient(string host)
: this(host, DefaultPort) {} : this(host, DefaultPort) {}


public RedisNativeClient(string host, int port) public RedisNativeClient(string host, int port)
: this(host, port, null) {} : this(host, port, null) {}


public RedisNativeClient(string host, int port, string password) public RedisNativeClient(string host, int port, string password)
{ {
if (host == null) if (host == null)
throw new ArgumentNullException("host"); throw new ArgumentNullException("host");


Host = host; Host = host;
Port = port; Port = port;
SendTimeout = -1; SendTimeout = -1;
Password = password; Password = password;
} }


public RedisNativeClient() public RedisNativeClient()
: this(DefaultHost, DefaultPort) {} : this(DefaultHost, DefaultPort) {}
Expand Down

0 comments on commit f6c1aec

Please sign in to comment.