Mercurial > pidgin.yaz
diff libpurple/protocols/msn/slpmsg.c @ 31308:d9ca3798faa5
Get rid of the Flags field in the SlpMessage in favor of the one in the Header.
author | masca@cpw.pidgin.im |
---|---|
date | Fri, 06 Aug 2010 00:07:39 +0000 |
parents | 6b73ff4fcc69 |
children | 4e097dfb7784 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpmsg.c Thu Aug 05 23:58:21 2010 +0000 +++ b/libpurple/protocols/msn/slpmsg.c Fri Aug 06 00:07:39 2010 +0000 @@ -244,7 +244,7 @@ slpmsg->header->session_id = header->session_id; slpmsg->size = header->total_size; - slpmsg->flags = P2P_ACK; + slpmsg->header->flags = P2P_ACK; slpmsg->header->ack_id = header->id; slpmsg->header->ack_sub_id = header->ack_id; slpmsg->header->ack_size = header->total_size; @@ -259,7 +259,7 @@ slpmsg = msn_slpmsg_new(NULL); slpmsg->slpcall = slpcall; - slpmsg->flags = P2P_MSN_OBJ_DATA; + slpmsg->header->flags = P2P_MSN_OBJ_DATA; slpmsg->info = "SLP DATA"; msn_slpmsg_set_image(slpmsg, img); @@ -289,7 +289,7 @@ slpmsg = msn_slpmsg_new(NULL); slpmsg->slpcall = slpcall; - slpmsg->flags = P2P_FILE_DATA; + slpmsg->header->flags = P2P_FILE_DATA; slpmsg->info = "SLP FILE"; slpmsg->size = size;