summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-07-24 13:27:50 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-07-24 13:27:50 +0300
commit541eab20530165d10592a9fda590f435c6a8b4be (patch)
tree6b0209e00cd152aabb800c184380cefe44d01a4f /protocols/JabberG
parent0db449bf70966941453cfbb8ec05fd430a96dc12 (diff)
obsolete code removed from NETLIBBIND
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