From 89f38d8c209e92967f49f10b493aa4a8a938edc9 Mon Sep 17 00:00:00 2001 From: Dan Taras Date: Fri, 10 Feb 2023 13:31:58 +0100 Subject: [PATCH 1/2] Fix for Julia 1.8 --- src/splitcap.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/splitcap.jl b/src/splitcap.jl index 0f7e04e..68c4041 100644 --- a/src/splitcap.jl +++ b/src/splitcap.jl @@ -96,7 +96,7 @@ function splitcap( progress_callback = progress_noop_; kwargs... ) - KeyType = strip_nothing_(Core.Compiler.return_type(record2key, (PcapRecord,))) - StreamType = Core.Compiler.return_type(key2stream, (KeyType,)) + KeyType = strip_nothing_(Core.Compiler.return_type(record2key, Tuple{PcapRecord})) + StreamType = Core.Compiler.return_type(key2stream, Tuple{KeyType}) splitcap(KeyType, StreamType, reader, record2key, key2stream, progress_callback; kwargs...) end From c37e491da99016f7b2055f37427dc6eeae29771c Mon Sep 17 00:00:00 2001 From: Dan Taras Date: Mon, 13 Feb 2023 09:29:03 +0100 Subject: [PATCH 2/2] Bump patch version --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index e2e2e5d..f819b5d 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PcapTools" uuid = "222fe7e8-3f39-464a-bf97-d9bbb753f246" authors = ["Christian Rorvik "] -version = "1.1.0" +version = "1.1.1" [deps] Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"