Mercurial > pidgin.yaz
comparison libpurple/connection.c @ 18006:f2d8658b3a86
merge of '62e9d17cd37551991c5040ce6ca48e6d7578dde3'
and '87c1ea9b3d60a343bac2a35e1fd8f7fee6bda6f2'
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 19 May 2007 21:38:47 +0000 |
parents | 10f175539cfe |
children | 4ca97b26a8fb |
comparison
equal
deleted
inserted
replaced
17174:e5cc13b1e0ca | 18006:f2d8658b3a86 |
---|---|
70 return; | 70 return; |
71 | 71 |
72 if (on && !gc->keepalive) | 72 if (on && !gc->keepalive) |
73 { | 73 { |
74 purple_debug_info("connection", "Activating keepalive.\n"); | 74 purple_debug_info("connection", "Activating keepalive.\n"); |
75 gc->keepalive = purple_timeout_add(30000, send_keepalive, gc); | 75 gc->keepalive = purple_timeout_add_seconds(30, send_keepalive, gc); |
76 } | 76 } |
77 else if (!on && gc->keepalive > 0) | 77 else if (!on && gc->keepalive > 0) |
78 { | 78 { |
79 purple_debug_info("connection", "Deactivating keepalive.\n"); | 79 purple_debug_info("connection", "Deactivating keepalive.\n"); |
80 purple_timeout_remove(gc->keepalive); | 80 purple_timeout_remove(gc->keepalive); |