Skip to content

Commit a0c1657

Browse files
author
David Pierson
committed
T10683 Fix ExtractZip parameter in samples
1 parent ab03e9d commit a0c1657

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

samples/cs/CreateZipFile/Main.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static void Main(string[] args)
5454
// in a commercial package.
5555
string[] filenames = Directory.GetFiles(args[0]);
5656

57-
// 'using' statements gaurantee the stream is closed properly which is a big source
57+
// 'using' statements guarantee the stream is closed properly which is a big source
5858
// of problems otherwise. Its exception safe as well which is great.
5959
using (ZipOutputStream s = new ZipOutputStream(File.Create(args[1]))) {
6060

samples/cs/FastZip/Main.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ void Run(string[] args)
323323
case Operation.Extract:
324324
if ( argCount == 2 ) {
325325
Console.WriteLine("Extracting Zip");
326-
fastZip.ExtractZip(arg1, arg2, overwrite, confirmOverwrite, fileFilter, dirFilter, recurse);
326+
fastZip.ExtractZip(arg1, arg2, overwrite, confirmOverwrite, fileFilter, dirFilter, restoreDates);
327327
}
328328
else
329329
Console.WriteLine("zipfile and target directory not specified");

0 commit comments

Comments
 (0)