comparison libpurple/protocols/msn/slplink.c @ 31136:24f371e16a51

We just allocated slpmsg, so of course slpmsg->slpcall will be NULL here
author Mark Doliner <mark@kingant.net>
date Mon, 08 Feb 2010 08:35:38 +0000
parents f3d2a46a5ea8
children c5a7516418c7
comparison
equal deleted inserted replaced
31135:f3d2a46a5ea8 31136:24f371e16a51
526 slpmsg->size = msg->msnslp_header.total_size; 526 slpmsg->size = msg->msnslp_header.total_size;
527 slpmsg->flags = msg->msnslp_header.flags; 527 slpmsg->flags = msg->msnslp_header.flags;
528 528
529 if (slpmsg->session_id) 529 if (slpmsg->session_id)
530 { 530 {
531 if (slpmsg->slpcall == NULL) 531 slpmsg->slpcall = msn_slplink_find_slp_call_with_session_id(slplink, slpmsg->session_id);
532 slpmsg->slpcall = msn_slplink_find_slp_call_with_session_id(slplink, slpmsg->session_id);
533
534 if (slpmsg->slpcall != NULL) 532 if (slpmsg->slpcall != NULL)
535 { 533 {
536 if (slpmsg->flags == 0x20 || 534 if (slpmsg->flags == 0x20 ||
537 slpmsg->flags == 0x1000020 || slpmsg->flags == 0x1000030) 535 slpmsg->flags == 0x1000020 || slpmsg->flags == 0x1000030)
538 { 536 {