From 7b07c2a9b2666b366ab2beb6b8b5c6b7e2820776 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Mon, 24 Jun 2013 13:15:07 +1000 Subject: [PATCH] Improve the type spec --- src/mod_carboncopy.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_carboncopy.erl b/src/mod_carboncopy.erl index 0a9338ac8..9c2ab319b 100644 --- a/src/mod_carboncopy.erl +++ b/src/mod_carboncopy.erl @@ -55,7 +55,7 @@ -type matchspec_atom() :: '_' | '$1' | '$2' | '$3'. -record(carboncopy,{us :: {binary(), binary()} | matchspec_atom(), resource :: binary() | matchspec_atom(), - version :: binary() }). + version :: binary() | matchspec_atom()}). is_carbon_copy(Packet) -> case xml:get_subtag(Packet, <<"sent">>) of