diff options
author | George Hazan <george.hazan@gmail.com> | 2013-02-23 20:01:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-02-23 20:01:17 +0000 |
commit | 97d992fe41e7eaafba3e5700861b0e098a8f6080 (patch) | |
tree | 48c4f577c59a9a52e0875771b00d66d301181de7 /protocols/JabberG/src/jabber_proto.cpp | |
parent | aa387fa04aa096d163932d3f5f9711a2f146c6f0 (diff) |
useless variable m_szProtoName removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@3740 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_proto.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index 29e17f7444..7eeeb47a52 100644 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -93,10 +93,7 @@ CJabberProto::CJabberProto(const char* aProtoName, const TCHAR *aUserName) : m_szXmlStreamToBeInitialized = NULL;
- m_szProtoName = mir_strdup(aProtoName);
- _strlwr(m_szProtoName);
- m_szProtoName[0] = toupper(m_szProtoName[0]);
- Log("Setting protocol/module name to '%s/%s'", m_szProtoName, m_szModuleName);
+ Log("Setting protocol/module name to '%s'", m_szModuleName);
// Initialize Jabber API
m_JabberApi.m_psProto = this;
@@ -245,7 +242,6 @@ CJabberProto::~CJabberProto() mir_free(m_transportProtoTableStartIndex);
mir_free(m_szStreamId);
- mir_free(m_szProtoName);
int i;
for (i=0; i < m_lstTransports.getCount(); i++)
|