summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/icq_server.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-16 11:17:06 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-16 11:17:06 +0000
commit0d0add7b1272241fe4c90f09c7ca8be1762a3c6d (patch)
treef3d5e1a56706510ed5f1ab991769ea62368f817f /protocols/IcqOscarJ/src/icq_server.h
parentb8b358f558e4d262012985a50ae8b979609da1c3 (diff)
fix for keep-alive in ICQ
git-svn-id: http://svn.miranda-ng.org/main/trunk@9827 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_server.h')
-rw-r--r--protocols/IcqOscarJ/src/icq_server.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/protocols/IcqOscarJ/src/icq_server.h b/protocols/IcqOscarJ/src/icq_server.h
index b485b29c79..99b545b14e 100644
--- a/protocols/IcqOscarJ/src/icq_server.h
+++ b/protocols/IcqOscarJ/src/icq_server.h
@@ -39,21 +39,21 @@ struct serverthread_start_info
struct serverthread_info
{
- BYTE szAuthKey[20];
- WORD wAuthKeyLen;
- WORD wServerPort;
- char *newServer;
- BYTE *cookieData;
- int cookieDataLen;
- int newServerSSL;
- int iKeepalive;
+ BYTE szAuthKey[20];
+ WORD wAuthKeyLen;
+ WORD wServerPort;
+ char *newServer;
+ BYTE *cookieData;
+ int cookieDataLen;
+ int newServerSSL;
+ time_t tmPing; // timestamp of the next ping
- bool isLoginServer;
- bool isMigrating;
- bool isNewServerReady;
- bool bLoggedIn;
- bool bReinitRecver;
- bool bMyAvatarInited;
+ bool isLoginServer;
+ bool isMigrating;
+ bool isNewServerReady;
+ bool bLoggedIn;
+ bool bReinitRecver;
+ bool bMyAvatarInited;
HANDLE hPacketRecver;
HANDLE hDirectBoundPort;