summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/IRCG/src/irclib.cpp8
-rw-r--r--protocols/JabberG/src/jabber_byte.cpp2
-rw-r--r--protocols/JabberG/src/jabber_file.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/protocols/IRCG/src/irclib.cpp b/protocols/IRCG/src/irclib.cpp
index e72df9fa90..4c4ac7e045 100644
--- a/protocols/IRCG/src/irclib.cpp
+++ b/protocols/IRCG/src/irclib.cpp
@@ -342,7 +342,7 @@ void CIrcProto::InsertIncomingEvent(wchar_t* pszRaw)
void CIrcProto::createMessageFromPchar(const char* p)
{
- wchar_t* ptszMsg;
+ wchar_t *ptszMsg;
if (codepage != CP_UTF8 && m_utfAutodetect) {
if (mir_utf8decodecp(NEWSTR_ALLOCA(p), codepage, &ptszMsg) == nullptr)
ptszMsg = mir_a2u_cp(p, codepage);
@@ -360,7 +360,7 @@ void CIrcProto::DoReceive()
if (m_info.bIdentServer && m_info.iIdentServerPort != NULL) {
NETLIBBIND nb = {};
- nb.pfnNewConnectionV2 = DoIdent;
+ nb.pfnNewConnection = DoIdent;
nb.pExtra = this;
nb.wPort = m_info.iIdentServerPort;
@@ -866,7 +866,7 @@ int CDccSession::SetupConnection()
// create a listening socket for outgoing chat/send requests. The remote computer connects to this computer. Used for both chat and filetransfer.
if (di->bSender && !di->bReverse) {
NETLIBBIND nb = {};
- nb.pfnNewConnectionV2 = DoIncomingDcc; // this is the (helper) function to be called once an incoming connection is made. The 'real' function that is called is IncomingConnection()
+ nb.pfnNewConnection = DoIncomingDcc; // this is the (helper) function to be called once an incoming connection is made. The 'real' function that is called is IncomingConnection()
nb.pExtra = this;
hBindPort = Netlib_BindPort(m_proto->hNetlibDCC, &nb);
@@ -942,7 +942,7 @@ int CDccSession::SetupConnection()
// hack for passive filetransfers
if (di->iType == DCC_SEND && !di->bSender && di->bReverse) {
NETLIBBIND nb = {};
- nb.pfnNewConnectionV2 = DoIncomingDcc; // this is the (helper) function to be called once an incoming connection is made. The 'real' function that is called is IncomingConnection()
+ nb.pfnNewConnection = DoIncomingDcc; // this is the (helper) function to be called once an incoming connection is made. The 'real' function that is called is IncomingConnection()
nb.pExtra = this;
hBindPort = Netlib_BindPort(m_proto->hNetlibDCC, &nb);
diff --git a/protocols/JabberG/src/jabber_byte.cpp b/protocols/JabberG/src/jabber_byte.cpp
index 7228b16fc1..58fabd9362 100644
--- a/protocols/JabberG/src/jabber_byte.cpp
+++ b/protocols/JabberG/src/jabber_byte.cpp
@@ -197,7 +197,7 @@ void CJabberProto::ByteSendThread(JABBER_BYTE_TRANSFER *jbt)
localAddr = getStringA("BsDirectAddr");
NETLIBBIND nlb = {};
- nlb.pfnNewConnectionV2 = JabberByteSendConnection;
+ nlb.pfnNewConnection = JabberByteSendConnection;
nlb.pExtra = this;
nlb.wPort = 0; // Use user-specified incoming port ranges, if available
diff --git a/protocols/JabberG/src/jabber_file.cpp b/protocols/JabberG/src/jabber_file.cpp
index aff4a01567..1d0f2e007e 100644
--- a/protocols/JabberG/src/jabber_file.cpp
+++ b/protocols/JabberG/src/jabber_file.cpp
@@ -240,7 +240,7 @@ void __cdecl CJabberProto::FileServerThread(filetransfer *ft)
ft->type = FT_OOB;
NETLIBBIND nlb = {};
- nlb.pfnNewConnectionV2 = JabberFileServerConnection;
+ nlb.pfnNewConnection = JabberFileServerConnection;
nlb.pExtra = this;
nlb.wPort = 0; // Use user-specified incoming port ranges, if available