summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/contacts.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-03-22 21:39:05 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-03-22 21:39:05 +0000
commit6d5553e7f62d068b4ef36b231ee84450d0aed907 (patch)
tree88f69917307a8fa82fb7fac04c6ed4dea6d7fa70 /protocols/Twitter/src/contacts.cpp
parentd2a83c7d22df33abd1678756fd4caba432700860 (diff)
strange custom loggins functions removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@12479 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Twitter/src/contacts.cpp')
-rw-r--r--protocols/Twitter/src/contacts.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/protocols/Twitter/src/contacts.cpp b/protocols/Twitter/src/contacts.cpp
index 483c140781..bf482bbe9d 100644
--- a/protocols/Twitter/src/contacts.cpp
+++ b/protocols/Twitter/src/contacts.cpp
@@ -38,7 +38,7 @@ void TwitterProto::AddToListWorker(void *p)
catch(const std::exception &e)
{
ShowPopup((std::string("While adding a friend, an error occurred: ") + e.what()).c_str());
- debugLogA( _T("***** Error adding friend: %s"),e.what());
+ debugLogA("***** Error adding friend: %s", e.what());
}
mir_free(name);
}
@@ -125,7 +125,7 @@ void TwitterProto::DoSearch(void *p)
}
catch (const std::exception &e) {
ShowPopup((std::string("While searching for contacts, an error occurred: ") + e.what()).c_str());
- debugLogA(_T("***** Error searching for contacts: %s"), e.what());
+ debugLogA("***** Error searching for contacts: %s", e.what());
found = false;
}
@@ -181,16 +181,15 @@ HANDLE TwitterProto::GetAwayMsg(MCONTACT hContact)
int TwitterProto::OnContactDeleted(WPARAM hContact, LPARAM lParam)
{
- if(m_iStatus != ID_STATUS_ONLINE)
+ if (m_iStatus != ID_STATUS_ONLINE)
return 0;
- if(!IsMyContact(hContact))
+ if (!IsMyContact(hContact))
return 0;
DBVARIANT dbv;
- if( !db_get_s(hContact,m_szModuleName,TWITTER_KEY_UN,&dbv))
- {
- if(in_chat_)
+ if (!db_get_s(hContact, m_szModuleName, TWITTER_KEY_UN, &dbv)) {
+ if (in_chat_)
DeleteChatContact(dbv.pszVal);
ScopedLock s(twitter_lock_);