diff libpurple/protocols/myspace/myspace.c @ 23319: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 e0bcb8cfda74
children 19ab21882b38
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);