Skip to content

Commit 073b055

Browse files
cnblogs-dudusanikachavan5
authored andcommitted
fix: mistaken variable assignment order
1 parent 8bf6803 commit 073b055

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Enyim.Caching/Memcached/PooledSocket.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public partial class PooledSocket : IDisposable
3131

3232
public PooledSocket(EndPoint endpoint, TimeSpan connectionTimeout, TimeSpan receiveTimeout, ILogger logger, bool useSslStream, bool useIPv6, SslClientAuthenticationOptions sslClientAuthOptions)
3333
{
34+
_endpoint = endpoint;
3435
_logger = logger;
3536
_isAlive = true;
3637
_useSslStream = useSslStream;
@@ -62,7 +63,6 @@ public PooledSocket(EndPoint endpoint, TimeSpan connectionTimeout, TimeSpan rece
6263
socket.SendTimeout = rcv;
6364

6465
_socket = socket;
65-
_endpoint = endpoint;
6666
}
6767

6868
public void Connect()

0 commit comments

Comments
 (0)