summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG')
-rw-r--r--protocols/JabberG/src/jabber_file.cpp2
-rw-r--r--protocols/JabberG/src/jabber_ft.cpp2
-rw-r--r--protocols/JabberG/src/jabber_iq_handlers.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_file.cpp b/protocols/JabberG/src/jabber_file.cpp
index 547257a570..30ee8c1fed 100644
--- a/protocols/JabberG/src/jabber_file.cpp
+++ b/protocols/JabberG/src/jabber_file.cpp
@@ -180,7 +180,7 @@ void CJabberProto::FileProcessHttpDownload(MCONTACT hContact, const char *jid, c
pre.fileCount = 1;
pre.timestamp = time(0);
pre.files.a = &pszName;
- pre.lParam = (LPARAM)ft;
+ pre.pUserInfo = ft;
pre.descr.a = pszDescr;
ProtoChainRecvFile(ft->std.hContact, &pre);
}
diff --git a/protocols/JabberG/src/jabber_ft.cpp b/protocols/JabberG/src/jabber_ft.cpp
index f4f088daa6..0da72701ad 100644
--- a/protocols/JabberG/src/jabber_ft.cpp
+++ b/protocols/JabberG/src/jabber_ft.cpp
@@ -471,7 +471,7 @@ void CJabberProto::FtHandleSiRequest(const TiXmlElement *iqNode)
pre.fileCount = 1;
pre.timestamp = time(0);
pre.files.a = &filename;
- pre.lParam = (LPARAM)ft;
+ pre.pUserInfo = ft;
pre.descr.a = XmlGetChildText(fileNode, "desc");
ProtoChainRecvFile(ft->std.hContact, &pre);
return;
diff --git a/protocols/JabberG/src/jabber_iq_handlers.cpp b/protocols/JabberG/src/jabber_iq_handlers.cpp
index cf2c92e799..d7abb95ff2 100644
--- a/protocols/JabberG/src/jabber_iq_handlers.cpp
+++ b/protocols/JabberG/src/jabber_iq_handlers.cpp
@@ -329,7 +329,7 @@ bool CJabberProto::OnIqRequestOOB(const TiXmlElement*, CJabberIqInfo *pInfo)
pre.descr.a = desc;
pre.files.a = &str2;
pre.fileCount = 1;
- pre.lParam = (LPARAM)ft;
+ pre.pUserInfo = ft;
ProtoChainRecvFile(ft->std.hContact, &pre);
}
else { // reject