changeset 32758:89fa8261e241

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.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 16 Oct 2011 07:47:40 +0000
parents 9bbfb9d74085
children 8a29624609b0
files libpurple/protocols/irc/dcc_send.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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));