From d80bdbbc068a75b592f48921414006d64d0d0268 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 13 Jul 2014 16:42:47 +0000 Subject: fix for borkred listening ports git-svn-id: http://svn.miranda-ng.org/main/trunk@9787 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/Xfire_proxy.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'protocols/Xfire') diff --git a/protocols/Xfire/src/Xfire_proxy.cpp b/protocols/Xfire/src/Xfire_proxy.cpp index db3952ee37..366cb891d2 100644 --- a/protocols/Xfire/src/Xfire_proxy.cpp +++ b/protocols/Xfire/src/Xfire_proxy.cpp @@ -77,11 +77,9 @@ int AfterSystemModulesLoaded(WPARAM wParam, LPARAM lParam) nlu.szDescriptiveName = "XFire server connection"; hNetlib = (HANDLE) CallService(MS_NETLIB_REGISTERUSER, 0, (LPARAM) & nlu); - //init socet server - NETLIBBIND nb = {0}; - nb.cbSize = NETLIBBIND_SIZEOF_V2; + //init socket server + NETLIBBIND nb = { sizeof(nb) }; nb.pfnNewConnectionV2 = XfireclientConnecting; - nb.pExtra = NULL; nb.wPort = 25999; hBindPort = (HANDLE)CallService(MS_NETLIB_BINDPORT, (WPARAM)hNetlib,(LPARAM) &nb); return 0; -- cgit v1.2.3