diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/MRA/MraFilesQueue.cpp | 5 | ||||
-rw-r--r-- | protocols/MRA/MraOfflineMsg.cpp | 2 | ||||
-rw-r--r-- | protocols/MRA/MraRTFMsg.cpp | 2 | ||||
-rw-r--r-- | protocols/MRA/proto.h | 2 |
4 files changed, 5 insertions, 6 deletions
diff --git a/protocols/MRA/MraFilesQueue.cpp b/protocols/MRA/MraFilesQueue.cpp index 02564c0879..539bf9562d 100644 --- a/protocols/MRA/MraFilesQueue.cpp +++ b/protocols/MRA/MraFilesQueue.cpp @@ -150,7 +150,7 @@ DWORD MraFilesQueueInitialize(DWORD dwSendTimeOutInterval, HANDLE *phFilesQueueH DWORD dwRetErrorCode = ListMTInitialize(pmrafqFilesQueue, 0);
if (dwRetErrorCode == NO_ERROR) {
pmrafqFilesQueue->dwSendTimeOutInterval = dwSendTimeOutInterval;
- (*phFilesQueueHandle) = (HANDLE)pmrafqFilesQueue;
+ *phFilesQueueHandle = (HANDLE)pmrafqFilesQueue;
}
else mir_free(pmrafqFilesQueue);
@@ -1030,7 +1030,6 @@ void CMraProto::MraFilesQueueSendThreadProc(LPVOID lpParameter) BYTE btBuff[BUFF_SIZE_RCV];
BOOL bFailed = TRUE, bOK, bConnected = FALSE;
DWORD dwReceived, dwSendBlockSize, dwUpdateTimeNext, dwUpdateTimeCur;
- HANDLE hFile;
size_t i, j, dwBuffSizeUsed = 0;
LPWSTR lpwszFileName;
@@ -1104,7 +1103,7 @@ void CMraProto::MraFilesQueueSendThreadProc(LPVOID lpParameter) }
if (bFailed == FALSE) {
- hFile = CreateFileW(dat->pmfqfFiles[j].lpwszName, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, (FILE_ATTRIBUTE_NORMAL|FILE_FLAG_SEQUENTIAL_SCAN), NULL);
+ HANDLE hFile = CreateFileW(dat->pmfqfFiles[j].lpwszName, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, (FILE_ATTRIBUTE_NORMAL|FILE_FLAG_SEQUENTIAL_SCAN), NULL);
if (hFile != INVALID_HANDLE_VALUE) {
bOK = FALSE;
dwUpdateTimeNext = GetTickCount();
diff --git a/protocols/MRA/MraOfflineMsg.cpp b/protocols/MRA/MraOfflineMsg.cpp index 868b23dcc6..e3e8b76aff 100644 --- a/protocols/MRA/MraOfflineMsg.cpp +++ b/protocols/MRA/MraOfflineMsg.cpp @@ -99,7 +99,7 @@ DWORD MraOfflineMessageGet(MRA_LPS *plpsMsg, DWORD *pdwTime, DWORD *pdwFlags, MR LPSTR lpszBoundary, lpszMIMEPart, lpszCurMIMEPos, lpszMIMEHeader, lpszMIMEHeaderLow, lpszMIMEBody, lpszMIMEContentType;
size_t i, dwBoundarySize, dwMIMEPartSize, dwMIMEHeaderSize, dwMIMEBodySize, dwMIMEContentTypeSize;
- lpszBoundary = (LPSTR)MemoryFind(0, lpszContentTypeLow, dwContentTypeSize, "boundary = ", 9);
+ lpszBoundary = (LPSTR)MemoryFind(0, lpszContentTypeLow, dwContentTypeSize, "boundary=", 9);
if (lpszBoundary)
{
dwBoundarySize = ((dwContentTypeSize-(lpszBoundary-lpszContentTypeLow))-9);
diff --git a/protocols/MRA/MraRTFMsg.cpp b/protocols/MRA/MraRTFMsg.cpp index 0e6e76f4ce..9866e44a99 100644 --- a/protocols/MRA/MraRTFMsg.cpp +++ b/protocols/MRA/MraRTFMsg.cpp @@ -20,7 +20,7 @@ static const LPSTR lpszColours[COLORTABLE_COUNT] = #define PAR "\\par "
-#define BB_COLOR_TAG "[color = "
+#define BB_COLOR_TAG "[color="
#define SYMBOLS_COUNT 19
static const LPSTR lpszSimbols[SYMBOLS_COUNT] =
{
diff --git a/protocols/MRA/proto.h b/protocols/MRA/proto.h index d881733480..bf0c28e03a 100644 --- a/protocols/MRA/proto.h +++ b/protocols/MRA/proto.h @@ -171,7 +171,7 @@ mrim_packet_header_t; #define USER_AGENT_MAX 255
// Format:
// user_agent = param *(param )
- // param = pname " = " pvalue
+ // param = pname "=" pvalue
// pname = token
// pvalue = token / quoted-string
//
|