comparison libpurple/protocols/msn/slpcall.c @ 32747:13b5d6eb099d

It doesn't make sense to set the entire slpcall wasted just because we've received a single packet. Anyway, this means our ACKs never get sent, and the MSN2011 client thinks we didn't receive the file.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 15 Oct 2011 23:33:31 +0000
parents d2ef8926b960
children 867104ed576a
comparison
equal deleted inserted replaced
32746:6fb2b4b44934 32747:13b5d6eb099d
1143 slpcall->timer = 0; 1143 slpcall->timer = 0;
1144 } 1144 }
1145 1145
1146 if (slpcall->cb) 1146 if (slpcall->cb)
1147 slpcall->cb(slpcall, body, body_len); 1147 slpcall->cb(slpcall, body, body_len);
1148
1149 slpcall->wasted = TRUE;
1150 } 1148 }
1151 } 1149 }
1152 else if (msn_p2p_info_is_ack(slpmsg->p2p_info)) 1150 else if (msn_p2p_info_is_ack(slpmsg->p2p_info))
1153 { 1151 {
1154 /* Acknowledgement of previous message. Don't do anything currently. */ 1152 /* Acknowledgement of previous message. Don't do anything currently. */