libpurple/protocols/yahoo/yahoo_profile.c

branch
soc.2013.gobjectification.plugins
changeset 37145
8826f95514fd
parent 37135
6271bcdee576
parent 36031
9eb8f52893d0
child 37146
b5b9c75a4b54
--- a/libpurple/protocols/yahoo/yahoo_profile.c	Sat May 10 03:56:36 2014 +0530
+++ b/libpurple/protocols/yahoo/yahoo_profile.c	Thu May 15 10:16:32 2014 +0530
@@ -1018,7 +1018,7 @@
 		purple_debug_misc("yahoo", "after utf8 conversion: stripped = (%s)\n", stripped);
 	}
 
-	if (profile_state == PROFILE_STATE_DEFAULT) {
+	if (strings && profile_state == PROFILE_STATE_DEFAULT) {
 #if 0
 	/* extract their Yahoo! ID and put it in. Don't bother marking has_info as
 	 * true, since the Yahoo! ID will always be there */

mercurial