diff options
author | Robert Pösel <robyer@seznam.cz> | 2012-05-25 18:11:53 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2012-05-25 18:11:53 +0000 |
commit | 1aa7fb19562f9462311e55dc0b9a7fac18c31180 (patch) | |
tree | abe836fdcac52cf7291cec5a682ce414ebab176d /protocols/FacebookRM/connection.cpp | |
parent | e45307525555ee23035c0d87fbac3ed8ce5a31e8 (diff) |
Updated Facebook RM
git-svn-id: http://svn.miranda-ng.org/main/trunk@176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/connection.cpp')
-rw-r--r-- | protocols/FacebookRM/connection.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/FacebookRM/connection.cpp b/protocols/FacebookRM/connection.cpp index 14b5c181c1..5d955d917f 100644 --- a/protocols/FacebookRM/connection.cpp +++ b/protocols/FacebookRM/connection.cpp @@ -191,7 +191,7 @@ void FacebookProto::UpdateLoop(void *) time_t tim = ::time(NULL);
LOG( ">>>>> Entering Facebook::UpdateLoop[%d]", tim );
- for ( int i = -1; !isOffline(); i = ++i % 100 )
+ for ( int i = -1; !isOffline(); i = ++i % 50 )
{
if ( i != -1 ) {
if ( !facy.invisible_ )
@@ -202,7 +202,7 @@ void FacebookProto::UpdateLoop(void *) if ( !facy.feeds( ) )
break;
- if ( i == 99 )
+ if ( i == 49 )
ForkThread( &FacebookProto::ProcessFriendRequests, this, NULL );
LOG( "***** FacebookProto::UpdateLoop[%d] going to sleep...", tim );
@@ -217,7 +217,6 @@ void FacebookProto::UpdateLoop(void *) void FacebookProto::MessageLoop(void *)
{
- //ScopedLock s(message_loop_lock_); // TODO: Required?
time_t tim = ::time(NULL);
LOG( ">>>>> Entering Facebook::MessageLoop[%d]", tim );
|