# HG changeset patch # User Eric Warmenhoven # Date 977181225 0 # Node ID 13e68fb13744be12eb231e41a5ecacaf083a83ec # Parent 7f486375bfd5ce48e9a16683d7e1dc44039586e5 [gaim-migrate @ 1305] should work with TOC now committer: Tailor Script diff -r 7f486375bfd5 -r 13e68fb13744 plugins/lagmeter.c --- a/plugins/lagmeter.c Mon Dec 18 22:56:13 2000 +0000 +++ b/plugins/lagmeter.c Mon Dec 18 23:13:45 2000 +0000 @@ -100,7 +100,9 @@ static gint send_lag(struct gaim_connection *gc) { gettimeofday(&my_lag_tv, NULL); if (g_slist_find(connections, gc)) { - serv_send_im(gc, gc->username, MY_LAG_STRING, 1); + char *m = g_strdup(MY_LAG_STRING); + serv_send_im(gc, gc->username, m, 1); + g_free(m); return TRUE; } else { debug_printf("LAGMETER: send_lag called for connection that no longer exists\n");