libpurple/protocols/msn/oim.c

changeset 25379
ccf2a1e230b0
parent 25312
fb70a3d47c02
child 25697
738e31fc6b51
child 25746
e97bb5964b19
child 26474
69f112d09563
--- 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);
 

mercurial