Fix build errors due to merge conflicts

This commit is contained in:
Christian
2022-11-11 14:41:28 +01:00
parent db1fc7625d
commit 4eb6e77eb5
+2 -2
View File
@@ -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)
{ {