Mercurial > pidgin
diff libpurple/protocols/myspace/myspace.c @ 17688:b1f9a3f5c0d0
Time the time between keep alives (I get 124 seconds).
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Wed, 04 Jul 2007 21:35:42 +0000 |
parents | d0c8b7748065 |
children | 76b68a9f9036 |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c Wed Jul 04 21:21:25 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.c Wed Jul 04 21:35:42 2007 +0000 @@ -1543,6 +1543,9 @@ * just happened here), msimprpl will appear to be connected forever, while * other plugins (oscar, etc.) will time out. Msimprpl should timeout too. */ purple_debug_info("msim", "msim_process: got keep alive\n"); + purple_debug_info("msim", "msim_process: last ka was %d s ago\n", + time(NULL) - session->last_ka); + session->last_ka = time(NULL); return TRUE; } else { msim_unrecognized(session, msg, "in msim_process");