# HG changeset patch # User Daniel Atallah # Date 1180646683 0 # Node ID 42444b7071d3ce06f6fa6628083de747535f0499 # Parent 55ded28f6640b625844ef0174cb0aa7ca347738e Under some conditions, we're getting "BPR MOB Y" when there hasn't previously been a user to attach it to. This prevents crashing. Fixes #1474. Someone more familiar with MSN may want to look into why we might be receiving the unexpected BPR. diff -r 55ded28f6640 -r 42444b7071d3 libpurple/protocols/msn/sync.c --- a/libpurple/protocols/msn/sync.c Thu May 31 20:24:27 2007 +0000 +++ b/libpurple/protocols/msn/sync.c Thu May 31 21:24:43 2007 +0000 @@ -195,6 +195,8 @@ user = sync->last_user; + g_return_if_fail(user != NULL); + type = cmd->params[0]; value = cmd->params[1];