comparison libpurple/protocols/oscar/oft.c @ 32759:8a29624609b0

Update Oscar for 64-bit file transfers. This doesn't actually add any support for >32-bit files; just fixes some variable types. Someone probably needs to RE the protocol for 64-bit-ness. Refs #1185. Refs #8477.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 16 Oct 2011 07:52:24 +0000
parents b6defcebfe4b
children 189b9a516d5d
comparison
equal deleted inserted replaced
32758:89fa8261e241 32759:8a29624609b0
649 649
650 void 650 void
651 peer_oft_sendcb_init(PurpleXfer *xfer) 651 peer_oft_sendcb_init(PurpleXfer *xfer)
652 { 652 {
653 PeerConnection *conn; 653 PeerConnection *conn;
654 size_t size; 654 goffset size;
655 655
656 conn = purple_xfer_get_protocol_data(xfer); 656 conn = purple_xfer_get_protocol_data(xfer);
657 conn->flags |= PEER_CONNECTION_FLAG_APPROVED; 657 conn->flags |= PEER_CONNECTION_FLAG_APPROVED;
658 658
659 /* Make sure the file size can be represented in 32 bits */ 659 /* Make sure the file size can be represented in 32 bits */