pidgin: 457a5c2c: Apply patch to fix #4937 'msim_normalize...

jeff2 at soc.pidgin.im jeff2 at soc.pidgin.im
Sun Jun 8 15:21:01 EDT 2008


-----------------------------------------------------------------
Revision: 457a5c2c9d9b1b235deae2d65b24cc542c12d6e4
Ancestor: c4bc1dcd8ef47d0f4cf6192dc1a7a3a05d49f54a
Author: jeff2 at soc.pidgin.im
Date: 2008-06-08T19:15:26
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/457a5c2c9d9b1b235deae2d65b24cc542c12d6e4

Modified files:
        libpurple/protocols/myspace/myspace.c

ChangeLog: 

Apply patch to fix #4937 'msim_normalize() error during initialization of libpurple' from Jaywalker.

Closes #4937.

-------------- next part --------------
============================================================
--- libpurple/protocols/myspace/myspace.c	05b3dfe7ffa81a5125fa05fdb339288293bc2a56
+++ libpurple/protocols/myspace/myspace.c	2066a6e6490b5c9fe20d59503b1290a7058d6f59
@@ -2404,7 +2404,7 @@ const char *msim_normalize(const PurpleA
 		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);


More information about the Commits mailing list