Mercurial > pidgin.yaz
changeset 24921:2aa4b88bdcf8
I have no idea if this check is needed, but it looked a bit risky without it
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Thu, 08 Jan 2009 14:15:16 +0000 |
parents | ee9b00cc4298 |
children | b333ebd093df |
files | libpurple/protocols/msn/oim.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/oim.c Wed Jan 07 01:18:16 2009 +0000 +++ b/libpurple/protocols/msn/oim.c Thu Jan 08 14:15:16 2009 +0000 @@ -651,7 +651,7 @@ /* Match number to user's mobile number, FROM is a phone number if the other side pages you using your phone number */ - if (!strncmp(from, "tel:+", 5)) { + if (from && !strncmp(from, "tel:+", 5)) { MsnUser *user = msn_userlist_find_user_with_mobile_phone( rdata->oim->session->userlist, from + 4);