diff options
-rw-r--r-- | protocols/Skype/src/skype_netlib.cpp | 5 | ||||
-rw-r--r-- | protocols/Skype/src/skype_proto.cpp | 7 |
2 files changed, 2 insertions, 10 deletions
diff --git a/protocols/Skype/src/skype_netlib.cpp b/protocols/Skype/src/skype_netlib.cpp index eb73cf90e0..0ff4e3c9e9 100644 --- a/protocols/Skype/src/skype_netlib.cpp +++ b/protocols/Skype/src/skype_netlib.cpp @@ -13,10 +13,7 @@ void CSkypeProto::InitNetLib() nlu.szSettingsModule = this->m_szModuleName;
this->hNetLibUser = (HANDLE)::CallService(MS_NETLIB_REGISTERUSER, 0, (LPARAM)&nlu);
- this->Log(
- L"Setting protocol/module name to '%s/%s'",
- _A2T(this->m_szProtoName),
- _A2T(this->m_szModuleName));
+ this->Log(L"Setting protocol/module name to '%s'", (TCHAR*)_A2T(m_szModuleName));
}
void CSkypeProto::UninitNetLib()
diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp index 1650a82c76..18a8483897 100644 --- a/protocols/Skype/src/skype_proto.cpp +++ b/protocols/Skype/src/skype_proto.cpp @@ -2,11 +2,7 @@ CSkypeProto::CSkypeProto(const char* protoName, const TCHAR* userName)
{
- ProtoConstructor(this, aProtoName, aUserName);
-
- this->m_szProtoName = ::mir_strdup(protoName);
- ::strlwr(m_szProtoName);
- this->m_szProtoName[0] = ::toupper(this->m_szProtoName[0]);
+ ProtoConstructor(this, protoName, userName);
//this->login = NULL;
this->password = NULL;
@@ -33,7 +29,6 @@ CSkypeProto::~CSkypeProto() ::mir_free(this->login);
::mir_free(this->password);
- ::mir_free(this->m_szProtoName);
ProtoDestructor(this);
}
|