diff --git a/src/common.rs b/src/common.rs index e8e59dea7..16da93b7c 100644 --- a/src/common.rs +++ b/src/common.rs @@ -16,7 +16,6 @@ use hbb_common::{config::RENDEZVOUS_PORT, futures::future::join_all}; use std::sync::{Arc, Mutex}; pub const CLIPBOARD_NAME: &'static str = "clipboard"; -pub const CLIPRDR_NAME: &'static str = "cliprdr"; pub const CLIPBOARD_INTERVAL: u64 = 333; lazy_static::lazy_static! { diff --git a/src/server/clipboard_file_service.rs b/src/server/clipboard_file_service.rs index 5cb967ba6..718f44434 100644 --- a/src/server/clipboard_file_service.rs +++ b/src/server/clipboard_file_service.rs @@ -11,7 +11,7 @@ use hbb_common::{ }; use std::sync::atomic::{AtomicBool, Ordering}; -pub use crate::common::CLIPRDR_NAME as NAME; +pub const NAME: &'static str = "cliprdr"; lazy_static::lazy_static! { static ref MSG_CHANNEL_SERVER: (UnboundedSender<(ConnID, Cliprdr)>, TokioMutex>) = {