Mercurial > pidgin
comparison src/protocols/msn/msg.c @ 6705:cebd49f42b56
[gaim-migrate @ 7231]
Oops, MSN users can read their messages now.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Tue, 02 Sep 2003 05:12:45 +0000 |
| parents | b7e113a59b51 |
| children | 8efafdc38718 |
comparison
equal
deleted
inserted
replaced
| 6704:471eed8124d5 | 6705:cebd49f42b56 |
|---|---|
| 166 tmp += 2; | 166 tmp += 2; |
| 167 | 167 |
| 168 /* Now we *should* be at the body. */ | 168 /* Now we *should* be at the body. */ |
| 169 if (!strcmp(msn_message_get_content_type(msg), "application/x-msnmsgrp2p")) | 169 if (!strcmp(msn_message_get_content_type(msg), "application/x-msnmsgrp2p")) |
| 170 { | 170 { |
| 171 msn_message_set_body(msg, tmp); | |
| 172 } | |
| 173 else | |
| 174 { | |
| 175 char header[48]; | 171 char header[48]; |
| 176 char footer[4]; | 172 char footer[4]; |
| 177 | 173 |
| 178 msg->msnslp_message = TRUE; | 174 msg->msnslp_message = TRUE; |
| 179 | 175 |
| 206 msg->msnslp_header.prev_id = ntohs(msg->msnslp_header.prev_id); | 202 msg->msnslp_header.prev_id = ntohs(msg->msnslp_header.prev_id); |
| 207 msg->msnslp_header.prev_f9 = ntohs(msg->msnslp_header.prev_f9); | 203 msg->msnslp_header.prev_f9 = ntohs(msg->msnslp_header.prev_f9); |
| 208 | 204 |
| 209 /* Import the footer. */ | 205 /* Import the footer. */ |
| 210 msg->msnslp_footer.app_id = (long)footer; | 206 msg->msnslp_footer.app_id = (long)footer; |
| 207 } | |
| 208 else | |
| 209 { | |
| 210 msn_message_set_body(msg, tmp); | |
| 211 } | 211 } |
| 212 | 212 |
| 213 g_free(tmp_base); | 213 g_free(tmp_base); |
| 214 | 214 |
| 215 /* Done! */ | 215 /* Done! */ |
