Mercurial > pidgin.yaz
comparison plugins/lagmeter.c @ 1295:13e68fb13744
[gaim-migrate @ 1305]
should work with TOC now
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 18 Dec 2000 23:13:45 +0000 |
parents | 5d1ded9f88b7 |
children | 569835fcabc3 |
comparison
equal
deleted
inserted
replaced
1294:7f486375bfd5 | 1295:13e68fb13744 |
---|---|
98 } | 98 } |
99 | 99 |
100 static gint send_lag(struct gaim_connection *gc) { | 100 static gint send_lag(struct gaim_connection *gc) { |
101 gettimeofday(&my_lag_tv, NULL); | 101 gettimeofday(&my_lag_tv, NULL); |
102 if (g_slist_find(connections, gc)) { | 102 if (g_slist_find(connections, gc)) { |
103 serv_send_im(gc, gc->username, MY_LAG_STRING, 1); | 103 char *m = g_strdup(MY_LAG_STRING); |
104 serv_send_im(gc, gc->username, m, 1); | |
105 g_free(m); | |
104 return TRUE; | 106 return TRUE; |
105 } else { | 107 } else { |
106 debug_printf("LAGMETER: send_lag called for connection that no longer exists\n"); | 108 debug_printf("LAGMETER: send_lag called for connection that no longer exists\n"); |
107 check_timeout = 0; | 109 check_timeout = 0; |
108 return FALSE; | 110 return FALSE; |