From d6e05cc3bca53565d9ca65377ab8b0b6190774b3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 19 Nov 2013 18:01:14 +0000 Subject: preparing to the transparent cyphering: end of MS_DB_CRYPT_ENCODESTRING/MS_DB_CRYPT_DECODESTRING git-svn-id: http://svn.miranda-ng.org/main/trunk@6938 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/main.cpp | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) (limited to 'protocols/Xfire/src/main.cpp') diff --git a/protocols/Xfire/src/main.cpp b/protocols/Xfire/src/main.cpp index c76e364f38..9adbe4290b 100644 --- a/protocols/Xfire/src/main.cpp +++ b/protocols/Xfire/src/main.cpp @@ -1517,49 +1517,17 @@ INT_PTR SetStatus(WPARAM wParam,LPARAM lParam) } else { - CallService(MS_DB_CRYPT_DECODESTRING,strlen(dbv2.pszVal)+1,(LPARAM)dbv2.pszVal); - if(myClient!=NULL) delete myClient; - //alter proxycode, entfernt da über netlib die proxysache geregelt wird - /* if(db_get_b(NULL, protocolname, "useproxy" ,0)) - { - //verbindung über proxy - DBVARIANT dbv3; - DBVARIANT dbv4; - if(!db_get(NULL,protocolname,"proxyip",&dbv3)) - { - if(!db_get(NULL,protocolname,"proxyport",&dbv4)) - { - myClient = new XFireClient(dbv.pszVal,dbv2.pszVal,db_get_b(NULL,protocolname,"protover",0),1,dbv3.pszVal,atoi(dbv4.pszVal)); - db_free(&dbv4); - } - db_free(&dbv3); - } - } - else */ - myClient = new XFireClient(dbv.pszVal,dbv2.pszVal,db_get_b(NULL,protocolname,"protover",0)); + myClient = new XFireClient(dbv.pszVal,dbv2.pszVal,db_get_b(NULL,protocolname,"protover",0)); //verbindung als thread bpStatus = ID_STATUS_CONNECTING; ProtoBroadcastAck(protocolname,NULL,ACKTYPE_STATUS,ACKRESULT_SUCCESS,(HANDLE)oldStatus,ID_STATUS_CONNECTING); mir_forkthread(ConnectingThread,(LPVOID)wParam); - //alte verb - /* - myClient->run(); - if(myClient->client->connected) - { - sendonrecieve=TRUE; - } - else - { - MSGBOXE(Translate("Unable to connect to XFire.")); - wParam =ID_STATUS_OFFLINE; - } - */ //für die vars db_unset(NULL,protocolname,"currentgamename"); db_unset(NULL,protocolname,"currentvoicename"); -- cgit v1.2.3