Mercurial > pidgin
comparison src/protocols/msn/msg.c @ 6842:bd433a45a463
[gaim-migrate @ 7387]
Committing what I have of MSN before I screw up my tree with some other
changes.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Sun, 14 Sep 2003 22:00:11 +0000 |
| parents | a372cf34387e |
| children | ab80de7a74d1 |
comparison
equal
deleted
inserted
replaced
| 6841:f76e26a0e6a9 | 6842:bd433a45a463 |
|---|---|
| 419 c += msn_put32(c, ack_length); | 419 c += msn_put32(c, ack_length); |
| 420 c += msn_put32(c, 0); | 420 c += msn_put32(c, 0); |
| 421 | 421 |
| 422 if (body != NULL) | 422 if (body != NULL) |
| 423 { | 423 { |
| 424 g_strlcpy(c, body, c - msg_start); | 424 g_strlcpy(c, body, msg->size - (c - msg_start)); |
| 425 | 425 |
| 426 c += strlen(body); | 426 c += strlen(body); |
| 427 | 427 |
| 428 if (strlen(body) > 0) | 428 if (strlen(body) > 0) |
| 429 *c++ = '\0'; | 429 *c++ = '\0'; |
