mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 18:43:10 +08:00
Fix build errors due to merge conflicts
This commit is contained in:
@@ -298,7 +298,7 @@ namespace MQTTnet.Adapter
|
|||||||
// Check two times for cancellation because the call to _ReadAsync_ might block for some time.
|
// Check two times for cancellation because the call to _ReadAsync_ might block for some time.
|
||||||
if (cancellationToken.IsCancellationRequested)
|
if (cancellationToken.IsCancellationRequested)
|
||||||
{
|
{
|
||||||
return ReadFixedHeaderResult.Cancelled;
|
return ReadFixedHeaderResult.Canceled;
|
||||||
}
|
}
|
||||||
|
|
||||||
int bytesRead;
|
int bytesRead;
|
||||||
@@ -308,7 +308,7 @@ namespace MQTTnet.Adapter
|
|||||||
}
|
}
|
||||||
catch (OperationCanceledException)
|
catch (OperationCanceledException)
|
||||||
{
|
{
|
||||||
return ReadFixedHeaderResult.Cancelled;
|
return ReadFixedHeaderResult.Canceled;
|
||||||
}
|
}
|
||||||
catch (SocketException)
|
catch (SocketException)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user