summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/contacts.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-11-07 20:49:14 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-11-07 20:49:14 +0000
commit83f57f5092fd96fef29fd2784ed5d7701b52378b (patch)
tree42f85c51ecf856fd1e59b413608dff0e969d325e /protocols/Twitter/src/contacts.cpp
parentff3ae414e0f1ed93e480129eddea59f9748d51a3 (diff)
Merged with original Twitter:
v1.1.0.0 - fixed some memory leaks (thx borkra) - fixed up some API v1.1 preferences - avatars now work for users that tweet - fixed the retweet truncation issue finally (properly this time), i test for the "retweeted_status" attribute now instead of flailing around blindly. git-svn-id: http://svn.miranda-ng.org/main/trunk@2239 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Twitter/src/contacts.cpp')
-rw-r--r--protocols/Twitter/src/contacts.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Twitter/src/contacts.cpp b/protocols/Twitter/src/contacts.cpp
index fcceb6881c..902f485ea2 100644
--- a/protocols/Twitter/src/contacts.cpp
+++ b/protocols/Twitter/src/contacts.cpp
@@ -114,7 +114,7 @@ void TwitterProto::DoSearch(void *p)
twitter_user info;
PROTOSEARCHRESULT psr = {sizeof(psr)};
- bool found;
+ bool found = false;
try
{
char* p = mir_utf8encodeT( query->query.c_str());
@@ -131,6 +131,7 @@ void TwitterProto::DoSearch(void *p)
ShowPopup( (std::string("While searching for contacts, an error occurred: ")
+e.what()).c_str());
LOG( _T("***** Error searching for contacts: %s"), e.what());
+ found = false;
}
if(found) {