diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-05 21:16:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-05 21:16:11 +0300 |
commit | 94c711953d71b21e4cc4c950dec921b253ae0d54 (patch) | |
tree | 1b627434871ae469cce098fc69a881291e249949 /protocols/JabberG/src/jabber_ft.cpp | |
parent | 40478d50b60d8c2e0711b3b0691c80be6b2da290 (diff) |
Jabber: code cleaning & simplification
Diffstat (limited to 'protocols/JabberG/src/jabber_ft.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_ft.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/JabberG/src/jabber_ft.cpp b/protocols/JabberG/src/jabber_ft.cpp index 5038c9f1ec..4ef7a7f3d4 100644 --- a/protocols/JabberG/src/jabber_ft.cpp +++ b/protocols/JabberG/src/jabber_ft.cpp @@ -112,8 +112,8 @@ void CJabberProto::FtInitiate(wchar_t* jid, filetransfer *ft) << XCHILDNS(L"x", JABBER_FEAT_DATA_FORMS) << XATTR(L"type", L"form")
<< XCHILD(L"field") << XATTR(L"var", L"stream-method") << XATTR(L"type", L"list-single");
- BOOL bDirect = m_options.BsDirect;
- BOOL bProxy = m_options.BsProxyManual;
+ BOOL bDirect = m_bBsDirect;
+ BOOL bProxy = m_bBsProxyManual;
// bytestreams support?
if (bDirect || bProxy)
@@ -133,8 +133,8 @@ void CJabberProto::OnFtSiResult(HXML iqNode, CJabberIqInfo *pInfo) if ((siNode = XmlGetChild(iqNode, "si")) != nullptr) {
// fix for very smart clients, like gajim
- BOOL bDirect = m_options.BsDirect;
- BOOL bProxy = m_options.BsProxyManual;
+ BOOL bDirect = m_bBsDirect;
+ BOOL bProxy = m_bBsProxyManual;
if ((featureNode = XmlGetChild(siNode, "feature")) != nullptr) {
if ((xNode = XmlGetChildByTag(featureNode, "x", "xmlns", JABBER_FEAT_DATA_FORMS)) != nullptr) {
@@ -322,7 +322,7 @@ void CJabberProto::FtHandleSiRequest(HXML iqNode) (xNode = XmlGetChildByTag(featureNode, "x", "xmlns", JABBER_FEAT_DATA_FORMS)) != nullptr &&
(fieldNode = XmlGetChildByTag(xNode, "field", "var", L"stream-method")) != nullptr) {
- BOOL bIbbOnly = m_options.BsOnlyIBB;
+ BOOL bIbbOnly = m_bBsOnlyIBB;
HXML optionNode = nullptr;
JABBER_FT_TYPE ftType = FT_OOB;
|