mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-08-04 06:51:50 +02:00
Server: Minor code refactoring
This commit is contained in:
parent
0dde935ffe
commit
5cdcda413e
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue