From f45d1ab9b8f6322d38f4e303e2ab78ea44d97319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 16 Jul 2023 10:37:49 +0200 Subject: [PATCH] Use the correct dash character --- src/input.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input.rs b/src/input.rs index 2eca268..9de31f6 100644 --- a/src/input.rs +++ b/src/input.rs @@ -17,7 +17,7 @@ pub struct Input { impl Input { pub fn answer(&self, msg: &str) { - println!("filter‐result|{0}|{1}|{msg}", self.session_id, self.token); + println!("filter-result|{0}|{1}|{msg}", self.session_id, self.token); } pub fn get_coded_address(&self) -> &CodedAddress { @@ -33,7 +33,7 @@ pub fn parse_input(input: &str) -> Result { let _timestamp = next_param!(params_it)?; let _subsystem = next_param!(params_it)?; let filter = next_param!(params_it)?; - ensure!(filter == "rcpt‐to", "{filter}: invalid filter"); + ensure!(filter == "rcpt-to", "{filter}: invalid filter"); let session_id = next_param!(params_it)?.to_string(); let token = next_param!(params_it)?.to_string(); let address = next_param!(params_it)?.trim_end();