Added clipboard transmission failed notification #4745

This commit is contained in:
Jerry (Xinyu Hou) 2015-06-02 11:17:04 -07:00
parent f22d9ac477
commit f42b756b0e
1 changed files with 2 additions and 0 deletions

View File

@ -115,11 +115,13 @@ ClipboardChunk::assemble(synergy::IStream* stream,
} }
else if (s_expectedSize != dataCached.size()) { else if (s_expectedSize != dataCached.size()) {
LOG((CLOG_ERR "corrupted clipboard data, expected size=%d actual size=%d", s_expectedSize, dataCached.size())); LOG((CLOG_ERR "corrupted clipboard data, expected size=%d actual size=%d", s_expectedSize, dataCached.size()));
LOG((CLOG_NOTIFY "Clipboard Transmission Failed: Corrupted clipboard data."));
return kError; return kError;
} }
return kFinish; return kFinish;
} }
LOG((CLOG_NOTIFY "Clipboard Transmission Failed: Unknow error."));
return kError; return kError;
} }