summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_caps.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_caps.h')
-rw-r--r--protocols/JabberG/src/jabber_caps.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/protocols/JabberG/src/jabber_caps.h b/protocols/JabberG/src/jabber_caps.h
index 8ed6a24996..0e6bcc5f89 100644
--- a/protocols/JabberG/src/jabber_caps.h
+++ b/protocols/JabberG/src/jabber_caps.h
@@ -265,7 +265,7 @@ typedef unsigned __int64 JabberCapsBits;
class CJabberClientPartialCaps
{
- ptrA m_szHash, m_szOs, m_szOsVer, m_szSoft, m_szSoftVer, m_szSoftMir;
+ ptrA m_szHash, m_szVer, m_szOs, m_szOsVer, m_szSoft, m_szSoftVer, m_szSoftMir;
JabberCapsBits m_jcbCaps = JABBER_RESOURCE_CAPS_UNINIT;
int m_nIqId = -1, m_iTime;
uint32_t m_dwRequestTime = 0;
@@ -304,10 +304,8 @@ public:
__inline int GetIqId() const { return m_nIqId; }
- __inline void SetVer(const char *szVer)
- {
- m_szSoft = mir_strdup(szVer);
- }
+ __inline void SetVer(const char *szVer) { m_szVer = mir_strdup(szVer); }
+ __inline const char* GetVer() const { return m_szVer.get(); }
};
class CJabberClientCaps