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" 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