summaryrefslogtreecommitdiff
path: root/protocols/JabberG/jabber_iq.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/jabber_iq.h')
-rw-r--r--protocols/JabberG/jabber_iq.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/protocols/JabberG/jabber_iq.h b/protocols/JabberG/jabber_iq.h
index 85da7e5195..6e145e7db0 100644
--- a/protocols/JabberG/jabber_iq.h
+++ b/protocols/JabberG/jabber_iq.h
@@ -56,9 +56,6 @@ typedef struct {
BOOL allowSubNs; // e.g. #info in disco#info
} JABBER_IQ_XMLNS_FUNC;
-void __stdcall replaceStr( char*& dest, const char* src );
-void __stdcall replaceStr( WCHAR*& dest, const WCHAR* src );
-
// 2 minutes, milliseconds
#define JABBER_DEFAULT_IQ_REQUEST_TIMEOUT 120000
@@ -111,7 +108,7 @@ public:
}
void SetReceiver(const TCHAR *szReceiver)
{
- replaceStr(m_szReceiver, szReceiver);
+ replaceStrT(m_szReceiver, szReceiver);
}
TCHAR* GetReceiver()
{
@@ -379,9 +376,9 @@ public:
pInfo->m_pHandler = pHandler;
pInfo->m_nIqTypes = nIqTypes ? nIqTypes : JABBER_IQ_TYPE_ANY;
- replaceStr( pInfo->m_szXmlns, szXmlns );
+ replaceStrT( pInfo->m_szXmlns, szXmlns );
pInfo->m_bAllowPartialNs = bAllowPartialNs;
- replaceStr( pInfo->m_szTag, szTag );
+ replaceStrT( pInfo->m_szTag, szTag );
pInfo->m_dwParamsToParse = dwParamsToParse;
pInfo->m_pUserData = pUserData;
pInfo->m_pUserDataFree = pUserDataFree;