summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/src/connection.cpp')
-rw-r--r--protocols/FacebookRM/src/connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/connection.cpp b/protocols/FacebookRM/src/connection.cpp
index d1a10bb756..d0d33ab838 100644
--- a/protocols/FacebookRM/src/connection.cpp
+++ b/protocols/FacebookRM/src/connection.cpp
@@ -201,7 +201,7 @@ void FacebookProto::UpdateLoop(void *)
time_t tim = ::time(NULL);
debugLogA(">>>>> Entering Facebook::UpdateLoop[%d]", tim);
- for (int i = -1; !isOffline(); i = ++i % 50)
+ for (int i = -1; !isOffline(); i = (i + 1) % 50)
{
if (i != -1) {
ProcessBuddyList(NULL);