From 1705273c443d069c82fac78ad34d909513af519b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sat, 20 Dec 2014 03:22:13 +0000 Subject: Omegle: Various fixes and code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@11541 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Omegle/src/proto.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'protocols/Omegle/src/proto.cpp') diff --git a/protocols/Omegle/src/proto.cpp b/protocols/Omegle/src/proto.cpp index e8cc0c4d42..bc785a9c44 100644 --- a/protocols/Omegle/src/proto.cpp +++ b/protocols/Omegle/src/proto.cpp @@ -46,9 +46,6 @@ OmegleProto::OmegleProto(const char* proto_name, const TCHAR* username) : NETLIBUSER nlu = {sizeof(nlu)}; nlu.flags = NUF_INCOMING | NUF_OUTGOING | NUF_HTTPCONNS | NUF_TCHAR; nlu.szSettingsModule = m_szModuleName; - char module[512]; - mir_snprintf(module,SIZEOF(module),"%sAv",m_szModuleName); - nlu.szSettingsModule = module; mir_sntprintf(descr,SIZEOF(descr),TranslateT("%s server connection"),m_tszUserName); nlu.ptszDescriptiveName = descr; m_hNetlibUser = (HANDLE)CallService(MS_NETLIB_REGISTERUSER,0,(LPARAM)&nlu); @@ -76,8 +73,6 @@ OmegleProto::~OmegleProto( ) CloseHandle( this->facy.send_message_lock_ ); CloseHandle( this->events_loop_lock_ ); CloseHandle( this->facy.connection_lock_ ); - - mir_free( this->facy.nick_ ); } ////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3