diff options
author | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-01-20 16:25:13 +0100 |
---|---|---|
committer | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-01-20 16:37:39 +0100 |
commit | 087173d06f4848f19d186b6902d399ce9b7225e1 (patch) | |
tree | 0cb2330486f445a2fa56c6da3a2d7ee983df6f52 /protocols/Gadu-Gadu/src/keepalive.cpp | |
parent | de12828fb9051fba1db1e4573cff56ee83ab6b1f (diff) |
Gadu-Gadu: code cleaning
Diffstat (limited to 'protocols/Gadu-Gadu/src/keepalive.cpp')
-rw-r--r-- | protocols/Gadu-Gadu/src/keepalive.cpp | 1 |
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
|