diff src/oscar.c @ 277:bba300ed4fab

[gaim-migrate @ 287] mmm mmm good committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 28 May 2000 22:09:30 +0000
parents 9e6fc62490cd
children 501e09c51cbc
line wrap: on
line diff
--- a/src/oscar.c	Sun May 28 21:38:54 2000 +0000
+++ b/src/oscar.c	Sun May 28 22:09:30 2000 +0000
@@ -300,8 +300,7 @@
 	char *ip;
 	char *cookie;
 
-	char buddies[] = "EWarmenhoven&";
-	char profile[] = "Hello";
+	char buddies[BUF_LONG];
 
 	va_start(ap, command);
 	serviceid = va_arg(ap, int);
@@ -310,9 +309,10 @@
 
 	switch(serviceid) {
 	case 0x0005: /* Ads */
+		sprintf(buddies, "%s&", current_user->username);
 		aim_bos_setbuddylist(sess, command->conn, buddies);
-		aim_bos_setprofile(sess, command->conn, profile, NULL,
-					gaim_caps);
+		aim_bos_setprofile(sess, command->conn, current_user->user_info,
+					NULL, gaim_caps);
 		
 		aim_seticbmparam(sess, command->conn);