# HG changeset patch # User Mark Doliner # Date 1204534227 0 # Node ID c59489e56735f1af7294b587d3568d9ffac668ff # Parent 1d3783f659c24fae8a1e8a46b85c30260c9f8723 Fix a crash in the zephyr normalize function that I added when gc is null (happens when reading in accounts.xml). My bad. diff -r 1d3783f659c2 -r c59489e56735 libpurple/protocols/zephyr/zephyr.c --- a/libpurple/protocols/zephyr/zephyr.c Mon Mar 03 08:40:39 2008 +0000 +++ b/libpurple/protocols/zephyr/zephyr.c Mon Mar 03 08:50:27 2008 +0000 @@ -2235,6 +2235,9 @@ char *tmp; gc = purple_account_get_connection(account); + if (gc == NULL) + return NULL; + tmp = local_zephyr_normalize(gc->proto_data, who); if (strlen(tmp) >= sizeof(buf)) {