Server: Minor code refactoring

This commit is contained in:
Tal Aloni 2020-01-31 10:49:53 +02:00
parent 0dde935ffe
commit 5cdcda413e

View file

@ -402,7 +402,8 @@ namespace SMBLibrary.Server
Socket clientSocket = state.ClientSocket;
try
{
clientSocket.Send(response.GetBytes());
byte[] responseBytes = response.GetBytes();
clientSocket.Send(responseBytes);
}
catch (SocketException ex)
{