diff options
Diffstat (limited to 'protocols/IcqOscarJ/src/fam_04message.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/fam_04message.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/protocols/IcqOscarJ/src/fam_04message.cpp b/protocols/IcqOscarJ/src/fam_04message.cpp index 5f56395682..d3de9c94ce 100644 --- a/protocols/IcqOscarJ/src/fam_04message.cpp +++ b/protocols/IcqOscarJ/src/fam_04message.cpp @@ -1528,7 +1528,7 @@ void CIcqProto::handleMessageTypes(DWORD dwUin, char *szUID, DWORD dwTimestamp, DWORD dwExtraLen = *(DWORD*)pMsg;
if (dwExtraLen < dwDataLen && !strncmp(szMsg, "{\\rtf", 5)) { // it is icq5 sending us crap, get real message from it
- WCHAR* usMsg = (WCHAR*)_alloca((dwExtraLen + 1)*sizeof(WCHAR));
+ WCHAR* usMsg = (WCHAR*)_alloca((dwExtraLen + 1) * sizeof(WCHAR));
// make sure it is null-terminated
wcsncpy(usMsg, (WCHAR*)(pMsg + 4), dwExtraLen);
usMsg[dwExtraLen] = '\0';
@@ -2349,7 +2349,6 @@ void CIcqProto::handleRecvServMsgError(BYTE *buf, size_t wLen, DWORD dwSequence) }
}
-
void CIcqProto::handleServerAck(BYTE *buf, size_t wLen, DWORD dwSequence)
{
DWORD dwUin;
@@ -2424,7 +2423,6 @@ void CIcqProto::handleServerAck(BYTE *buf, size_t wLen, DWORD dwSequence) }
}
-
void CIcqProto::handleMissedMsg(BYTE *buf, size_t wLen)
{
DWORD dwUin;
@@ -2499,7 +2497,6 @@ void CIcqProto::handleMissedMsg(BYTE *buf, size_t wLen) AddEvent(HContactFromUID(dwUin, szUid, &bAdded), ICQEVENTTYPE_MISSEDMESSAGE, time(0), 0, sizeof(wError), (PBYTE)&wError);
}
-
void CIcqProto::handleOffineMessagesReply(DWORD dwRef)
{
cookie_offline_messages *cookie;
@@ -2533,7 +2530,6 @@ void CIcqProto::handleOffineMessagesReply(DWORD dwRef) else debugLogA("Error: Received unexpected end of offline msgs.");
}
-
void CIcqProto::handleTypingNotification(BYTE *buf, size_t wLen)
{
if (wLen < 14) {
@@ -2600,7 +2596,6 @@ void CIcqProto::handleTypingNotification(BYTE *buf, size_t wLen) }
}
-
void CIcqProto::sendTypingNotification(MCONTACT hContact, WORD wMTNCode)
{
_ASSERTE((wMTNCode == MTN_FINISHED) || (wMTNCode == MTN_TYPED) || (wMTNCode == MTN_BEGUN) || (wMTNCode == MTN_WINDOW_CLOSED));
|