summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-06-20 12:34:03 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-06-20 12:34:03 +0300
commitf5edf42fe7c00d966905d5d63441ad4bc3bc7b5a (patch)
treecd72f4ea5b8e835f5228a1b80b272b9a775810f5 /protocols
parent82ce0f45ba21d22887d68b05d40b3576f6065f60 (diff)
minor fix
Diffstat (limited to 'protocols')
-rw-r--r--protocols/JabberG/src/jabber_iqid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_iqid.cpp b/protocols/JabberG/src/jabber_iqid.cpp
index 20b0175f17..6c30d73f26 100644
--- a/protocols/JabberG/src/jabber_iqid.cpp
+++ b/protocols/JabberG/src/jabber_iqid.cpp
@@ -61,7 +61,7 @@ void CJabberProto::OnIqResultServerItemsInfo(const TiXmlElement *iqNode, CJabber
if (auto *field = XmlGetChildByTag(x, "field", "var", "FORM_TYPE"))
if (!mir_strcmp(XmlGetChildText(field, "value"), hul_ver ? JABBER_FEAT_UPLOAD : JABBER_FEAT_UPLOAD0))
if (auto *sfield = XmlGetChildByTag(x, "field", "var", "max-file-size"))
- setDword("HttpUploadMaxSize", atoi(XmlGetChildText(sfield, "value")));
+ setDword("HttpUploadMaxSize", XmlGetChildInt(sfield, "value"));
}
}
}