changeset 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 1d8d8649f015
children 5fd35afcfcbf
files libpurple/protocols/oscar/oscar.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)