diff options
author | George Hazan <ghazan@miranda.im> | 2019-07-24 20:58:51 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-07-24 20:58:58 +0300 |
commit | ed4897b7ef69e862806a8c07f1fd475262d0c36e (patch) | |
tree | 414efc6365f455122956eac74b754505c8efaf15 /protocols/JabberG/src/jabber_file.cpp | |
parent | 99893bf3aec9f4e9f0c4844c0987d129e1778c7e (diff) |
massive warning fix
Diffstat (limited to 'protocols/JabberG/src/jabber_file.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_file.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_file.cpp b/protocols/JabberG/src/jabber_file.cpp index 1d0f2e007e..7d6d767e52 100644 --- a/protocols/JabberG/src/jabber_file.cpp +++ b/protocols/JabberG/src/jabber_file.cpp @@ -100,7 +100,7 @@ int CJabberProto::FileReceiveParse(filetransfer *ft, char* buffer, int datalen) break;
}
- debugLogA("FT Got: %s", str);
+ debugLogA("FT Got: %s", str.get());
if (ft->state == FT_CONNECTING) {
// looking for "HTTP/1.1 200 OK"
if (sscanf(str, "HTTP/%*d.%*d %d %*s", &code) == 1 && code == 200) {
@@ -292,7 +292,7 @@ void __cdecl CJabberProto::FileServerThread(filetransfer *ft) }
char szAddr[256];
- mir_snprintf(szAddr, "http://%s:%d/%s", myAddr, nlb.wPort, pFileName.c_str());
+ mir_snprintf(szAddr, "http://%s:%d/%s", myAddr.get(), nlb.wPort, pFileName.c_str());
XmlNodeIq iq("set", ft->szId, MakeJid(ft->jid, ptszResource));
TiXmlElement *query = iq << XQUERY(JABBER_FEAT_OOB);
|