diff libpurple/protocols/oscar/oscar.c @ 32444:ab1f85cf5ae5

Should use accessor function purple_connection_get_protocol_data() here.
author andrew.victor@mxit.com
date Mon, 29 Aug 2011 22:16:06 +0000
parents 7c65c7054905
children cd1d9e04c587
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Mon Aug 29 22:14:23 2011 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Mon Aug 29 22:16:06 2011 +0000
@@ -5040,7 +5040,7 @@
 	name = purple_buddy_get_name(buddy);
 	account = purple_buddy_get_account(buddy);
 	gc = purple_account_get_connection(account);
-	od = gc->proto_data;
+	od = purple_connection_get_protocol_data(gc);
 	conn = peer_connection_find_by_type(od, name, OSCAR_CAPABILITY_DIRECTIM);
 
 	if (conn != NULL)