Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/slpmsg.c @ 31302:e32332ac385c
Get rid of the ack_id field in the SlpMessage in favor of the one in the Header.
author | masca@cpw.pidgin.im |
---|---|
date | Thu, 05 Aug 2010 22:41:22 +0000 |
parents | 6814678f3c63 |
children | b785e4256a66 |
comparison
equal
deleted
inserted
replaced
31301:16ab805406d1 | 31302:e32332ac385c |
---|---|
243 slpmsg = msn_slpmsg_new(NULL); | 243 slpmsg = msn_slpmsg_new(NULL); |
244 | 244 |
245 slpmsg->header->session_id = header->session_id; | 245 slpmsg->header->session_id = header->session_id; |
246 slpmsg->size = header->total_size; | 246 slpmsg->size = header->total_size; |
247 slpmsg->flags = P2P_ACK; | 247 slpmsg->flags = P2P_ACK; |
248 slpmsg->ack_id = header->id; | 248 slpmsg->header->ack_id = header->id; |
249 slpmsg->ack_sub_id = header->ack_id; | 249 slpmsg->ack_sub_id = header->ack_id; |
250 slpmsg->ack_size = header->total_size; | 250 slpmsg->ack_size = header->total_size; |
251 slpmsg->info = "SLP ACK"; | 251 slpmsg->info = "SLP ACK"; |
252 | 252 |
253 return slpmsg; | 253 return slpmsg; |