# HG changeset patch # User Luke Schierer # Date 1098052704 0 # Node ID 65e7df286076c299a93e67911da36817057b0008 # Parent 131f70fc53c1090093b879429203b998867267de [gaim-migrate @ 11139] msn crash fix from evands committer: Tailor Script diff -r 131f70fc53c1 -r 65e7df286076 src/protocols/msn/slplink.c --- a/src/protocols/msn/slplink.c Sun Oct 17 22:37:46 2004 +0000 +++ b/src/protocols/msn/slplink.c Sun Oct 17 22:38:24 2004 +0000 @@ -150,11 +150,14 @@ GList *l; MsnSlpCall *slpcall; + if (!id) + return NULL; + for (l = slplink->slp_calls; l != NULL; l = l->next) { slpcall = l->data; - if (!strcmp(slpcall->id, id)) + if (slpcall->id && !strcmp(slpcall->id, id)) return slpcall; }