diff src/protocols/rendezvous/rendezvous.c @ 10011:32467b63f55a

[gaim-migrate @ 10928] More deprecation of serv_got_update or whatever it's called. Is all the sound and logging stuff done in the new code? I didn't actually check. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 11 Sep 2004 03:37:16 +0000
parents c124bef68132
children 61852117568f
line wrap: on
line diff
--- a/src/protocols/rendezvous/rendezvous.c	Fri Sep 10 22:39:35 2004 +0000
+++ b/src/protocols/rendezvous/rendezvous.c	Sat Sep 11 03:37:16 2004 +0000
@@ -185,6 +185,7 @@
 static void rendezvous_handle_rr_txt(GaimConnection *gc, ResourceRecord *rr, const gchar *name)
 {
 	RendezvousData *rd = gc->proto_data;
+	GaimAccount *account = gaim_connection_get_account(gc);
 	RendezvousBuddy *rb;
 	GSList *rdata;
 	ResourceRecordRDataTXTNode *node1, *node2;
@@ -241,12 +242,12 @@
 				rb->idle += 978307200; /* convert to seconds-since-epoch */
 			}
 			rb->status = UC_IDLE;
-			gaim_prpl_got_user_idle(account, b->name, TRUE, rb->idle);
+			gaim_prpl_got_user_idle(account, name, TRUE, rb->idle);
 		} else if (!strcmp(node1->value, "dnd")) {
 			/* Away */
 			rb->status = UC_UNAVAILABLE;
 		}
-		gaim_prpl_got_user_status(account, b->name, "online", NULL);
+		gaim_prpl_got_user_status(account, name, "online", NULL);
 		/* XXX - Idle time is rb->idle and status is rb->status */
 	}