diff libpurple/protocols/msn/msn.c @ 18063:926ccb104da0

disapproval of revision '1411afd7660760db59966c3a9f18e2adab8eb27e'
author Richard Laager <rlaager@wiktel.com>
date Sat, 16 Jun 2007 19:00:35 +0000
parents 4ca97b26a8fb
children 5c1ed6296b56 d9d9283680a4 cb189eea2c59 db286cc82bd1 ff69c2a9ccf2
line wrap: on
line diff
--- a/libpurple/protocols/msn/msn.c	Thu Jun 07 04:22:42 2007 +0000
+++ b/libpurple/protocols/msn/msn.c	Sat Jun 16 19:00:35 2007 +0000
@@ -1463,7 +1463,7 @@
 	purple_debug_info("msn", "In msn_got_info\n");
 
 	/* Make sure the connection is still valid */
-	if (g_list_find((GList *)purple_connections_get_all(), info_data->gc) == NULL)
+	if (g_list_find(purple_connections_get_all(), info_data->gc) == NULL)
 	{
 		purple_debug_warning("msn", "invalid connection. ignoring buddy info.\n");
 		g_free(info_data->name);
@@ -1883,7 +1883,7 @@
 
 	/* Make sure the connection is still valid if we got here by fetching a photo url */
 	if (url_text && (error_message != NULL ||
-					 g_list_find((GList *)purple_connections_get_all(), info_data->gc) == NULL))
+					 g_list_find(purple_connections_get_all(), info_data->gc) == NULL))
 	{
 		purple_debug_warning("msn", "invalid connection. ignoring buddy photo info.\n");
 		g_free(stripped);
@@ -1982,7 +1982,7 @@
 		if (acct && !purple_account_is_connected(acct))
 			acct = NULL;
 	} else { /* Otherwise find an active account for the protocol */
-		const GList *l = purple_accounts_get_all();
+		GList *l = purple_accounts_get_all();
 		while (l) {
 			if (!strcmp(prpl, purple_account_get_protocol_id(l->data))
 					&& purple_account_is_connected(l->data)) {