summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_ft.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-18 14:40:43 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-18 14:40:43 +0000
commitcdbdcef6d92500b3b156ea6e304440e82621aa00 (patch)
tree6c6673df2824ae7e83dfa8c2c9b2859388c574b7 /protocols/JabberG/src/jabber_ft.cpp
parent08c2fa14c7ee65003e8e9b59567bb4525d17c28c (diff)
fixes 584
git-svn-id: http://svn.miranda-ng.org/main/trunk@8163 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_ft.cpp')
-rw-r--r--protocols/JabberG/src/jabber_ft.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_ft.cpp b/protocols/JabberG/src/jabber_ft.cpp
index 2d34b62a5b..bd22179228 100644
--- a/protocols/JabberG/src/jabber_ft.cpp
+++ b/protocols/JabberG/src/jabber_ft.cpp
@@ -354,7 +354,7 @@ void CJabberProto::FtHandleSiRequest(HXML iqNode)
ft->jid = mir_tstrdup(from);
ft->std.hContact = HContactFromJID(from);
ft->sid = mir_tstrdup(sid);
- ft->iqId = _ttoi(szId+4);
+ ft->szId = mir_tstrdup(szId);
ft->type = ftType;
ft->std.totalFiles = 1;
ft->std.tszCurrentFile = mir_tstrdup(filename);
@@ -399,7 +399,7 @@ void CJabberProto::FtAcceptSiRequest(filetransfer *ft)
item->ft = ft;
m_ThreadInfo->send(
- XmlNodeIq(_T("result"), ft->iqId, ft->jid)
+ XmlNodeIq(_T("result"), ft->szId, ft->jid)
<< XCHILDNS(_T("si"), JABBER_FEAT_SI)
<< XCHILDNS(_T("feature"), JABBER_FEAT_FEATURE_NEG)
<< XCHILDNS(_T("x"), JABBER_FEAT_DATA_FORMS) << XATTR(_T("type"), _T("submit"))
@@ -416,7 +416,7 @@ void CJabberProto::FtAcceptIbbRequest(filetransfer *ft)
item->ft = ft;
m_ThreadInfo->send(
- XmlNodeIq(_T("result"), ft->iqId, ft->jid)
+ XmlNodeIq(_T("result"), ft->szId, ft->jid)
<< XCHILDNS(_T("si"), JABBER_FEAT_SI)
<< XCHILDNS(_T("feature"), JABBER_FEAT_FEATURE_NEG)
<< XCHILDNS(_T("x"), JABBER_FEAT_DATA_FORMS) << XATTR(_T("type"), _T("submit"))