diff libpurple/connection.c @ 32245:f75041cb3fec

Convert libpurple and protocol prpl's to use the purple_account_* accessor functions.
author andrew.victor@mxit.com
date Sat, 01 Oct 2011 18:21:43 +0000
parents 2571b01e849c
children 2ec94166be43
line wrap: on
line diff
--- a/libpurple/connection.c	Sat Oct 01 17:10:45 2011 +0000
+++ b/libpurple/connection.c	Sat Oct 01 18:21:43 2011 +0000
@@ -440,7 +440,7 @@
 {
 	g_return_val_if_fail(gc != NULL, NULL);
 
-	return gc->password ? gc->password : gc->account->password;
+	return gc->password ? gc->password : purple_account_get_password(gc->account);
 }
 
 const char *