summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG')
-rw-r--r--protocols/JabberG/src/jabber_byte.cpp2
-rw-r--r--protocols/JabberG/src/jabber_file.cpp2
2 files changed, 2 insertions, 2 deletions
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