Mercurial > pidgin.yaz
diff libpurple/protocols/mxit/mxit.h @ 31747:02b510d2d014
* do not send requests too fast to the mxit server or they will start ignoring you.
author | pieter.loubser@mxit.com |
---|---|
date | Fri, 04 Feb 2011 09:13:46 +0000 |
parents | bcc22eeaf3fa |
children | 7c3b4002f46e |
line wrap: on
line diff
--- a/libpurple/protocols/mxit/mxit.h Wed Jan 26 09:36:58 2011 +0000 +++ b/libpurple/protocols/mxit/mxit.h Fri Feb 04 09:13:46 2011 +0000 @@ -135,7 +135,7 @@ unsigned int http_seqno; /* HTTP request sequence number */ guint http_timer_id; /* timer resource id (pidgin) */ int http_interval; /* poll inverval */ - time_t http_last_poll; /* the last time a poll has been sent */ + gint64 http_last_poll; /* the last time a poll has been sent */ guint http_handler; /* HTTP connection handler */ void* http_out_req; /* HTTP outstanding request */ @@ -160,7 +160,7 @@ /* transmit */ struct tx_queue queue; /* transmit packet queue (FIFO mode) */ - time_t last_tx; /* timestamp of last packet sent */ + gint64 last_tx; /* timestamp of last packet sent */ int outack; /* outstanding ack packet */ guint q_timer; /* timer handler for managing queue */ @@ -170,7 +170,7 @@ unsigned int rx_i; /* receive buffer current index */ int rx_res; /* amount of bytes still outstanding for the current packet */ char rx_state; /* current receiver state */ - time_t last_rx; /* timestamp of last packet received */ + gint64 last_rx; /* timestamp of last packet received */ GList* active_chats; /* list of all our contacts we received messages from (active chats) */ /* groupchat */