Mercurial > pidgin
comparison src/protocols/oscar/txqueue.c @ 7945:0a0be07f066a
[gaim-migrate @ 8619]
Hopefully recognize the iChat AV capability.
Also hopefully fix a problem faceprint was seeing where hiptop
users wouldn't always have the hiptop icon.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sun, 28 Dec 2003 22:12:50 +0000 |
| parents | c86f075b269a |
| children | 92cbf9713795 |
comparison
equal
deleted
inserted
replaced
| 7944:a99f0aebc7ce | 7945:0a0be07f066a |
|---|---|
| 217 int wrote = 0; | 217 int wrote = 0; |
| 218 | 218 |
| 219 if (!bs || !conn || (count < 0)) | 219 if (!bs || !conn || (count < 0)) |
| 220 return -EINVAL; | 220 return -EINVAL; |
| 221 | 221 |
| 222 /* Make sure we don't send paste the end of the bs */ | 222 /* Make sure we don't send past the end of the bs */ |
| 223 if (count > aim_bstream_empty(bs)) | 223 if (count > aim_bstream_empty(bs)) |
| 224 count = aim_bstream_empty(bs); /* truncate to remaining space */ | 224 count = aim_bstream_empty(bs); /* truncate to remaining space */ |
| 225 | 225 |
| 226 if (count) { | 226 if (count) { |
| 227 /* | 227 /* |
| 371 | 371 |
| 372 return 0; | 372 return 0; |
| 373 } | 373 } |
| 374 | 374 |
| 375 /* | 375 /* |
| 376 * This is responsable for removing sent commands from the transmit | 376 * This is responsible for removing sent commands from the transmit |
| 377 * queue. This is not a required operation, but it of course helps | 377 * queue. This is not a required operation, but it of course helps |
| 378 * reduce memory footprint at run time! | 378 * reduce memory footprint at run time! |
| 379 */ | 379 */ |
| 380 faim_export void aim_tx_purgequeue(aim_session_t *sess) | 380 faim_export void aim_tx_purgequeue(aim_session_t *sess) |
| 381 { | 381 { |
| 382 aim_frame_t *cur, **prev; | 382 aim_frame_t *cur, **prev; |
| 383 | 383 |
