Skip to content

Commit 40b0474

Browse files
committed
Fixes typo
1 parent 4716c28 commit 40b0474

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Source/src/PCx.IO.Compression/PCx/IO/Compression/DecompressGraph.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ private static Buffer Decompress(Buffer buffer)
125125
}
126126
}
127127

128-
private async Task ReadAsync(Stream stream, CancellationToken cancealltionToken)
128+
private async Task ReadAsync(Stream stream, CancellationToken cancellationToken)
129129
{
130130
try
131131
{
@@ -136,11 +136,11 @@ private async Task ReadAsync(Stream stream, CancellationToken cancealltionToken)
136136
throw new IOException("Source stream is not well-formed");
137137
}
138138

139-
cancealltionToken.ThrowIfCancellationRequested();
139+
cancellationToken.ThrowIfCancellationRequested();
140140

141141
var buffer = Buffer.ReadFrom(stream, length);
142142

143-
await _TargetBlock.SendAsync(buffer, cancealltionToken).ConfigureAwait(false);
143+
await _TargetBlock.SendAsync(buffer, cancellationToken).ConfigureAwait(false);
144144
}
145145
}
146146
catch (OperationCanceledException)

0 commit comments

Comments
 (0)