TreeConnectHelper: Code refactoring and logging improvements

This commit is contained in:
Tal Aloni 2017-03-13 17:14:01 +02:00
parent e639361c9c
commit 9cd6180e57
4 changed files with 16 additions and 10 deletions

View file

@ -136,8 +136,7 @@ namespace SMBLibrary.Server
if (command is TreeDisconnectRequest)
{
session.DisconnectTree(command.Header.TreeID);
return new TreeDisconnectResponse();
return TreeConnectHelper.GetTreeDisconnectResponse((TreeDisconnectRequest)command, share, state);
}
else if (command is CreateRequest)
{