aboutsummaryrefslogtreecommitdiffstats
path: root/remote-processor
diff options
context:
space:
mode:
Diffstat (limited to 'remote-processor')
-rw-r--r--remote-processor/Message.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/remote-processor/Message.cpp b/remote-processor/Message.cpp
index 9df038c..ee3652d 100644
--- a/remote-processor/Message.cpp
+++ b/remote-processor/Message.cpp
@@ -155,21 +155,21 @@ CMessage::Result CMessage::serialize(CSocket* pSocket, bool bOut, string& strErr
if (!pSocket->write(&uiSize, sizeof(uiSize))) {
- strError += string("Size write failed: ") + strerror(errno);
+ strError += string("Size write failed: ") + strerror(errno);
return error;
}
// Msg Id
if (!pSocket->write(&_ucMsgId, sizeof(_ucMsgId))) {
- strError += string("Msg write failed: ") + strerror(errno);
+ strError += string("Msg write failed: ") + strerror(errno);
return error;
}
// Data
if (!pSocket->write(_pucData, _uiDataSize)) {
- strError = string("Data write failed: ") + strerror(errno);
+ strError = string("Data write failed: ") + strerror(errno);
return error;
}
@@ -178,7 +178,7 @@ CMessage::Result CMessage::serialize(CSocket* pSocket, bool bOut, string& strErr
if (!pSocket->write(&ucChecksum, sizeof(ucChecksum))) {
- strError = string("Checksum write failed: ") + strerror(errno);
+ strError = string("Checksum write failed: ") + strerror(errno);
return error;
}
@@ -188,7 +188,7 @@ CMessage::Result CMessage::serialize(CSocket* pSocket, bool bOut, string& strErr
if (!pSocket->read(&uiSyncWord, sizeof(uiSyncWord))) {
- strError = string("Sync read failed: ") + strerror(errno);
+ strError = string("Sync read failed: ") + strerror(errno);
if (pSocket->hasPeerDisconnected()) {
return peerDisconnected;
}
@@ -207,14 +207,14 @@ CMessage::Result CMessage::serialize(CSocket* pSocket, bool bOut, string& strErr
if (!pSocket->read(&uiSize, sizeof(uiSize))) {
- strError = string("Size read failed: ") + strerror(errno);
+ strError = string("Size read failed: ") + strerror(errno);
return error;
}
// Msg Id
if (!pSocket->read(&_ucMsgId, sizeof(_ucMsgId))) {
- strError = string("Msg id read failed: ") + strerror(errno);
+ strError = string("Msg id read failed: ") + strerror(errno);
return error;
}
@@ -226,7 +226,7 @@ CMessage::Result CMessage::serialize(CSocket* pSocket, bool bOut, string& strErr
// Data receive
if (!pSocket->read(_pucData, _uiDataSize)) {
- strError = string("Data read failed: ") + strerror(errno);
+ strError = string("Data read failed: ") + strerror(errno);
return error;
}
@@ -235,7 +235,7 @@ CMessage::Result CMessage::serialize(CSocket* pSocket, bool bOut, string& strErr
if (!pSocket->read(&ucChecksum, sizeof(ucChecksum))) {
- strError = string("Checksum read failed: ") + strerror(errno);
+ strError = string("Checksum read failed: ") + strerror(errno);
return error;
}
// Compare