diff options
author | George Hazan <george.hazan@gmail.com> | 2013-02-23 20:19:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-02-23 20:19:10 +0000 |
commit | fce9734123b15ceabd38043b02c16b6ee21ecadf (patch) | |
tree | 0e43ce3732419bc7411cb077b676e4931f5edaa7 | |
parent | 1292768bee7d27c5d0ac8d68b4d794f7e2364ecd (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@3742 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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);
}
|