Skip to content

Commit 8ccbfd5

Browse files
committed
fix: mistaken variable assignment order
1 parent 7f5bdc8 commit 8ccbfd5

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
@@ -30,6 +30,7 @@ public partial class PooledSocket : IDisposable
3030

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

6364
_socket = socket;
64-
_endpoint = endpoint;
6565
}
6666

6767
public void Connect()

0 commit comments

Comments
 (0)