From 8d0fdee5cefe5d71603617a44ea21f008bafb9f2 Mon Sep 17 00:00:00 2001 From: "Jerry (Xinyu Hou)" Date: Tue, 2 Jun 2015 11:18:21 -0700 Subject: [PATCH] Added full stop for notification #4745 --- src/lib/client/ServerProxy.cpp | 4 ++-- src/lib/server/ClientProxy1_5.cpp | 2 +- src/lib/server/ClientProxy1_6.cpp | 4 ++-- src/lib/synergy/DropHelper.cpp | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/lib/client/ServerProxy.cpp b/src/lib/client/ServerProxy.cpp index 9be6e670..a4c06ee1 100644 --- a/src/lib/client/ServerProxy.cpp +++ b/src/lib/client/ServerProxy.cpp @@ -569,7 +569,7 @@ ServerProxy::setClipboard() } else if (r == kStart) { size_t size = ClipboardChunk::getExpectedSize(); - LOG((CLOG_NOTIFY "Clipboard Transmission Started: Start receiving %u bytes of clipboard data", size)); + LOG((CLOG_NOTIFY "Clipboard Transmission Started: Start receiving %u bytes of clipboard data.", size)); } } @@ -872,7 +872,7 @@ ServerProxy::fileChunkReceived() } else if (result == kStart) { String filename = m_client->getDragFileList().at(0).getFilename(); - LOG((CLOG_NOTIFY "File Transmission Started: Start receiving %s", filename.c_str())); + LOG((CLOG_NOTIFY "File Transmission Started: Start receiving %s.", filename.c_str())); } } diff --git a/src/lib/server/ClientProxy1_5.cpp b/src/lib/server/ClientProxy1_5.cpp index a894de0d..49fc10f3 100644 --- a/src/lib/server/ClientProxy1_5.cpp +++ b/src/lib/server/ClientProxy1_5.cpp @@ -85,7 +85,7 @@ ClientProxy1_5::fileChunkReceived() } else if (result == kStart) { String filename = server->getDragFileList().at(0).getFilename(); - LOG((CLOG_NOTIFY "File Transmission Started: Start receiving %s", filename.c_str())); + LOG((CLOG_NOTIFY "File Transmission Started: Start receiving %s.", filename.c_str())); } } diff --git a/src/lib/server/ClientProxy1_6.cpp b/src/lib/server/ClientProxy1_6.cpp index 08bd9b90..8ca7bb91 100644 --- a/src/lib/server/ClientProxy1_6.cpp +++ b/src/lib/server/ClientProxy1_6.cpp @@ -91,11 +91,11 @@ ClientProxy1_6::recvClipboard() info->m_sequenceNumber = seq; m_events->addEvent(Event(m_events->forClipboard().clipboardChanged(), getEventTarget(), info)); - LOG((CLOG_NOTIFY "Clipboard Transmission Complete: Clipboard is updated")); + LOG((CLOG_NOTIFY "Clipboard Transmission Complete: Clipboard is updated.")); } else if (r == kStart) { size_t size = ClipboardChunk::getExpectedSize(); - LOG((CLOG_NOTIFY "Clipboard Transmission Started: Start receiving %u bytes of clipboard data", size)); + LOG((CLOG_NOTIFY "Clipboard Transmission Started: Start receiving %u bytes of clipboard data.", size)); } return true; diff --git a/src/lib/synergy/DropHelper.cpp b/src/lib/synergy/DropHelper.cpp index 5daca748..7430c943 100644 --- a/src/lib/synergy/DropHelper.cpp +++ b/src/lib/synergy/DropHelper.cpp @@ -38,18 +38,18 @@ DropHelper::writeToDir(const String& destination, DragFileList& fileList, String file.open(dropTarget.c_str(), std::ios::out | std::ios::binary); if (!file.is_open()) { LOG((CLOG_ERR "drop file failed: can not open %s", dropTarget.c_str())); - LOG((CLOG_NOTIFY "File Transmission Failed: Can not open %s", dropTarget.c_str())); + LOG((CLOG_NOTIFY "File Transmission Failed: Can not open %s.", dropTarget.c_str())); } file.write(data.c_str(), data.size()); file.close(); - LOG((CLOG_NOTIFY "File Transmission Complete: %s is saved to %s", fileList.at(0).getFilename().c_str(), destination.c_str())); + LOG((CLOG_NOTIFY "File Transmission Complete: %s is saved to %s.", fileList.at(0).getFilename().c_str(), destination.c_str())); fileList.clear(); } else { LOG((CLOG_ERR "drop file failed: drop target is empty")); - LOG((CLOG_NOTIFY "File Transmission Failed: Drop target is empty")); + LOG((CLOG_NOTIFY "File Transmission Failed: Drop target is empty.")); } }