From e6d5abebb43fbbc00389a6528f7752d7ba4d96da Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 4 Oct 2012 18:45:32 +0000 Subject: garbage cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@1780 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/!NotAdopted/Xfire/xfiretest/Xfire_proxy.cpp | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'plugins/!NotAdopted') diff --git a/plugins/!NotAdopted/Xfire/xfiretest/Xfire_proxy.cpp b/plugins/!NotAdopted/Xfire/xfiretest/Xfire_proxy.cpp index 35185defe1..641c481097 100644 --- a/plugins/!NotAdopted/Xfire/xfiretest/Xfire_proxy.cpp +++ b/plugins/!NotAdopted/Xfire/xfiretest/Xfire_proxy.cpp @@ -37,13 +37,13 @@ void XfireclientConnecting(HANDLE hConnection, DWORD, void* extra ) ncon.wPort = (WORD)atol("25999"); ncon.timeout=5; netlibcon = (HANDLE) CallService(MS_NETLIB_OPENCONNECTION, (WPARAM) hNetlib, (LPARAM) & ncon); - + if(!netlibcon) { Netlib_CloseHandle(hConnection); } mir_forkthread(FromServerToClient,(LPVOID)hConnection); - + //schleife behandelt empfangende daten do { int cbRead = Netlib_Recv(hConnection, buf, sizeof(buf), 0); @@ -67,7 +67,7 @@ void XfireclientConnecting(HANDLE hConnection, DWORD, void* extra ) } //inits nachdem alle module geladen wurden -int AfterSystemModulesLoaded(WPARAM wParam,LPARAM lParam) +int AfterSystemModulesLoaded(WPARAM wParam,LPARAM lParam) { //init netlib handle NETLIBUSER nlu = {0}; @@ -92,12 +92,5 @@ int AfterSystemModulesLoaded(WPARAM wParam,LPARAM lParam) int initXfireProxy() { //inits nach dem alle module geladen wurden HookEvent(ME_SYSTEM_MODULESLOADED, AfterSystemModulesLoaded); - -/* PROTOCOLDESCRIPTOR pd; - ZeroMemory(&pd,sizeof(pd)); - pd.cbSize=sizeof(pd); - pd.szName=protocolname; - pd.type=PROTOTYPE_FILTER; - CallService(MS_PROTO_REGISTERMODULE,0,(LPARAM)&pd);*/ return 0; -} \ No newline at end of file +} -- cgit v1.2.3