changeset 23321:5b8239453a1e

Apply patch to fix #4937 'msim_normalize() error during initialization of libpurple' from Jaywalker. Closes #4937.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Sun, 08 Jun 2008 19:15:26 +0000
parents d4cc956acb37
children 30deb89c5a76
files libpurple/protocols/myspace/myspace.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c	Sat Jun 07 20:37:46 2008 +0000
+++ b/libpurple/protocols/myspace/myspace.c	Sun Jun 08 19:15:26 2008 +0000
@@ -2404,7 +2404,7 @@
 		const char *username;
 
 		/* If the account does not exist, we can't look up the user. */
-		if (!account)
+		if (!account || !account->gc)
 			return str;
 
 		id = atol(str);