From 6b597967a39c38d8911fe7e055931a969fe49ff7 Mon Sep 17 00:00:00 2001 From: Gene Hightower Date: Thu, 28 Mar 2024 20:53:49 -0700 Subject: [PATCH] still must match obs first --- message.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/message.cpp b/message.cpp index deb2c86..37a4f26 100644 --- a/message.cpp +++ b/message.cpp @@ -295,7 +295,7 @@ struct new_addr_spec : seq, domain> {}; struct obs_addr_spec : seq, obs_domain> {}; -struct addr_spec : sor {}; +struct addr_spec : sor {}; struct result : sor struct mailbox_list_action : nothing {}; template <> -struct mailbox_list_action { +struct mailbox_list_action { template static void apply(Input const& in, ::message::mailbox_name_addr_list& from_parsed) { - LOG(INFO) << "obs_local_part: " << in.string(); + LOG(INFO) << "local_part: " << in.string(); } }; template <> -struct mailbox_list_action { +struct mailbox_list_action { template static void apply(Input const& in, ::message::mailbox_name_addr_list& from_parsed) { - LOG(INFO) << "local_part: " << in.string(); + LOG(INFO) << "domain: " << in.string(); } }; template <> -struct mailbox_list_action { +struct mailbox_list_action { template static void apply(Input const& in, ::message::mailbox_name_addr_list& from_parsed) { - LOG(INFO) << "domain: " << in.string(); + LOG(INFO) << "obs_local_part: " << in.string(); } }; -- 2.11.4.GIT