diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-11 15:07:50 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-11 15:07:50 +0000 |
commit | 764b106951b4c47cef929d17ca99e8f4a8165483 (patch) | |
tree | d1606321274760672db3e47d084586a55ce6b983 /protocols/JabberG/src/jabber_ibb.cpp | |
parent | fabb5ec61205a9a3dca6f82645f257d00a534572 (diff) |
Jabber not to eat the trailing symbol in chat's topic
git-svn-id: http://svn.miranda-ng.org/main/trunk@7592 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_ibb.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_ibb.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/protocols/JabberG/src/jabber_ibb.cpp b/protocols/JabberG/src/jabber_ibb.cpp index 54f936aab2..c4d4f4e752 100644 --- a/protocols/JabberG/src/jabber_ibb.cpp +++ b/protocols/JabberG/src/jabber_ibb.cpp @@ -105,13 +105,11 @@ void CJabberProto::IbbSendThread(JABBER_IBB_TRANSFER *jibb) jibb->hEvent = NULL;
if (jibb->bStreamInitialized) {
-
jibb->wPacketId = 0;
BOOL bSent = (this->*jibb->pfnSend)(JABBER_IBB_BLOCK_SIZE, jibb->ft);
- if (!jibb->bStreamClosed)
- {
+ if (!jibb->bStreamClosed) {
jibb->hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
m_ThreadInfo->send(
@@ -124,10 +122,8 @@ void CJabberProto::IbbSendThread(JABBER_IBB_TRANSFER *jibb) if (jibb->bStreamClosed && bSent)
jibb->state = JIBB_DONE;
-
- } else {
- jibb->state = JIBB_ERROR;
}
+ else jibb->state = JIBB_ERROR;
}
(this->*jibb->pfnFinal)((jibb->state==JIBB_DONE)?TRUE:FALSE, jibb->ft);
|