# HG changeset patch # User Elliott Sales de Andrade # Date 1318751260 0 # Node ID 89fa8261e24193816a9bc3ae78f20f7f738d688b # Parent 9bbfb9d74085f280755f9a362692d095c8bc7217 Update IRC for 64-bit file transfers. This probably won't really make much of a difference, since there seems to be lots of 4-byte sizes passed around. This really just fixes the printf so it doesn't do something wrong. Refs #8477. diff -r 9bbfb9d74085 -r 89fa8261e241 libpurple/protocols/irc/dcc_send.c --- a/libpurple/protocols/irc/dcc_send.c Sun Oct 16 07:41:49 2011 +0000 +++ b/libpurple/protocols/irc/dcc_send.c Sun Oct 16 07:47:40 2011 +0000 @@ -319,7 +319,7 @@ /* Send the intended recipient the DCC request */ arg[0] = purple_xfer_get_remote_user(xfer); inet_aton(purple_network_get_my_ip(irc->fd), &addr); - arg[1] = tmp = g_strdup_printf("\001DCC SEND \"%s\" %u %hu %" G_GSIZE_FORMAT "\001", + arg[1] = tmp = g_strdup_printf("\001DCC SEND \"%s\" %u %hu %" G_GOFFSET_FORMAT "\001", purple_xfer_get_filename(xfer), ntohl(addr.s_addr), port, purple_xfer_get_size(xfer));