plugins/lagmeter.c

changeset 2353
e20e4226251a
parent 2351
bd825e66edc2
child 2376
4ac8fbfa2b0a
--- a/plugins/lagmeter.c	Sun Sep 23 20:32:30 2001 +0000
+++ b/plugins/lagmeter.c	Mon Sep 24 16:35:27 2001 +0000
@@ -87,11 +87,11 @@
 		char *m = g_strdup(MY_LAG_STRING);
 		if (my_gc->protocol == PROTO_JABBER) {
 			if (!strchr(my_gc->username, '@')) {
-				char buf = g_strconcat(my_gc->username, "@jabber.org/GAIM", NULL);
+				char *buf = g_strconcat(my_gc->username, "@jabber.org/GAIM", NULL);
 				serv_send_im(my_gc, buf, m, 1);
 				g_free(buf);
 			} else if (!strchr(my_gc->username, '/')) {
-				char buf = g_strconcat(my_gc->username, "@jabber.org/GAIM", NULL);
+				char *buf = g_strconcat(my_gc->username, "@jabber.org/GAIM", NULL);
 				serv_send_im(my_gc, buf, m, 1);
 				g_free(buf);
 			} else

mercurial