diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-13 16:42:47 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-13 16:42:47 +0000 |
commit | d80bdbbc068a75b592f48921414006d64d0d0268 (patch) | |
tree | aca90913f71cd3c6bd83ce4dd545e6c4e934dca7 /protocols | |
parent | 90a99f237d2332a5d882c0dcd3e2b4572b04944f (diff) |
fix for borkred listening ports
git-svn-id: http://svn.miranda-ng.org/main/trunk@9787 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Xfire/src/Xfire_proxy.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
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;
|