3efcee68bd
- copy and paste into msg windows caused html to be passed on to the icb-server. - implemented keepalive so that my connection doesn't drop when behind crapy firewalls that timeout idle tcp connections quickly. - fixed a crash in the auto reconnect code path where "group" is not in the hash table in icb_join_chat(). - implemented a defensive programming check in icb_send() to prevent other NULL fields from crashing pidgin. - fixed some amd64 warnings. Maintainer timeout
22 lines
744 B
Plaintext
22 lines
744 B
Plaintext
--- icb.h.orig 2007-05-05 12:39:23.000000000 -0400
|
|
+++ icb.h 2009-08-12 11:28:39.000000000 -0400
|
|
@@ -64,8 +64,9 @@
|
|
#define ICB_CMD_COMMAND 'h'
|
|
#define ICB_CMD_COMMAND_RESP 'i'
|
|
#define ICB_CMD_PROTO_VERSION 'j'
|
|
-#define ICB_CMD_MSG 'm'
|
|
+#define ICB_CMD_PONG 'm'
|
|
#define ICB_CMD_WHO 'w'
|
|
+#define ICB_CMD_PING 'l'
|
|
|
|
#define ICB_SERVICES_NAME "server"
|
|
|
|
@@ -117,6 +118,7 @@ typedef struct {
|
|
int chat_id;
|
|
enum wl_mode wl; /* What to do with wl response */
|
|
char wl_nick[256]; /* What to do with wl response */
|
|
+ time_t sr_time; /* time of last send/receive */
|
|
#if 0
|
|
GString *motd; /* MOTD. First bunch of "co"s sent by server right after
|
|
* user logs in.
|