diff options
author | George Hazan <ghazan@miranda.im> | 2022-06-20 12:34:03 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-06-20 12:34:03 +0300 |
commit | f5edf42fe7c00d966905d5d63441ad4bc3bc7b5a (patch) | |
tree | cd72f4ea5b8e835f5228a1b80b272b9a775810f5 /protocols | |
parent | 82ce0f45ba21d22887d68b05d40b3576f6065f60 (diff) |
minor fix
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/JabberG/src/jabber_iqid.cpp | 2 |
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"));
}
}
}
|