mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-20 08:05:53 +02:00
Corrected typo
This commit is contained in:
parent
42f6e23107
commit
fb06e4df46
3 changed files with 3 additions and 3 deletions
|
@ -254,7 +254,7 @@ namespace SMBLibrary.SMB1
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw new InvalidRequestException();;
|
throw new InvalidRequestException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case CommandName.SMB_COM_SESSION_SETUP_ANDX:
|
case CommandName.SMB_COM_SESSION_SETUP_ANDX:
|
||||||
|
|
|
@ -99,7 +99,7 @@ namespace SMBLibrary.SMB1
|
||||||
{
|
{
|
||||||
if (!SMB1Header.IsValidSMB1Header(buffer))
|
if (!SMB1Header.IsValidSMB1Header(buffer))
|
||||||
{
|
{
|
||||||
throw new InvalidRequestException("Invalid SMB header signature");;
|
throw new InvalidRequestException("Invalid SMB header signature");
|
||||||
}
|
}
|
||||||
return new SMB1Message(buffer);
|
return new SMB1Message(buffer);
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,7 +49,7 @@ namespace SMBLibrary.SMB1
|
||||||
case FindInformationLevel.SMB_FIND_FILE_BOTH_DIRECTORY_INFO:
|
case FindInformationLevel.SMB_FIND_FILE_BOTH_DIRECTORY_INFO:
|
||||||
return new FindFileBothDirectoryInfo(buffer, ref offset, isUnicode);
|
return new FindFileBothDirectoryInfo(buffer, ref offset, isUnicode);
|
||||||
default:
|
default:
|
||||||
throw new UnsupportedInformationLevelException();;
|
throw new UnsupportedInformationLevelException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue