# HG changeset patch # User Daniel Atallah # Date 1180038430 0 # Node ID 0018ab54be9c137b25d53cc9cfc342c184b709b1 # Parent 977b9adc2757ded006b6b4b208ca7d3d1acf080b Fixes #1261 diff -r 977b9adc2757 -r 0018ab54be9c libpurple/protocols/jabber/google.c --- a/libpurple/protocols/jabber/google.c Thu May 24 19:47:51 2007 +0000 +++ b/libpurple/protocols/jabber/google.c Thu May 24 20:27:10 2007 +0000 @@ -219,7 +219,7 @@ const char *grt = xmlnode_get_attrib_with_namespace(item, "t", "google:roster"); const char *subscription = xmlnode_get_attrib(item, "subscription"); - if (!strcmp(subscription, "none")) { + if (subscription && !strcmp(subscription, "none")) { /* The Google Talk servers will automatically add people from your Gmail address book * with subscription=none. If we see someone with subscription=none, ignore them. */