summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/keepalive.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu/src/keepalive.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/keepalive.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Gadu-Gadu/src/keepalive.cpp b/protocols/Gadu-Gadu/src/keepalive.cpp
index f6b70dd07f..df01face9c 100644
--- a/protocols/Gadu-Gadu/src/keepalive.cpp
+++ b/protocols/Gadu-Gadu/src/keepalive.cpp
@@ -56,6 +56,7 @@ void GGPROTO::keepalive_init()
{
int i;
for (i = 0; i < MAX_TIMERS && g_timers[i] != nullptr; i++);
+
if (i < MAX_TIMERS)
{
#ifdef DEBUGMODE