mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
patch: less verbose debug logs
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
This commit is contained in:
@@ -480,7 +480,6 @@ impl Connection {
|
||||
}
|
||||
#[cfg(any(target_os="windows", target_os="linux"))]
|
||||
ipc::Data::ClipboardFile(clip) => {
|
||||
log::debug!("got clipfile from rx_from_cm, send to stream: {:?}", clip);
|
||||
allow_err!(conn.stream.send(&clip_2_msg(clip)).await);
|
||||
}
|
||||
ipc::Data::PrivacyModeState((_, state)) => {
|
||||
@@ -1786,11 +1785,10 @@ impl Connection {
|
||||
update_clipboard(_cb, None);
|
||||
}
|
||||
}
|
||||
Some(message::Union::Cliprdr(_clip)) => {
|
||||
log::debug!("got cliprdr file from connection:{:?}", _clip);
|
||||
Some(message::Union::Cliprdr(_clip)) =>
|
||||
{
|
||||
#[cfg(any(target_os = "windows", target_os = "linux"))]
|
||||
if let Some(clip) = msg_2_clip(_clip) {
|
||||
log::debug!("send cliprdr file from connection to cm");
|
||||
self.send_to_cm(ipc::Data::ClipboardFile(clip))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user