pidgin: fff9f4e7: Update IRC for 64-bit file transfers. Th...
qulogic at pidgin.im
qulogic at pidgin.im
Sun Oct 16 04:26:15 EDT 2011
----------------------------------------------------------------------
Revision: fff9f4e737cefb99d90bb9cd027ece039904b5d9
Parent: 6c96608e38f108eb0838102dda480658ba4eabd5
Author: qulogic at pidgin.im
Date: 10/16/11 03:47:40
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/fff9f4e737cefb99d90bb9cd027ece039904b5d9
Changelog:
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.
Changes against parent 6c96608e38f108eb0838102dda480658ba4eabd5
patched libpurple/protocols/irc/dcc_send.c
-------------- next part --------------
============================================================
--- libpurple/protocols/irc/dcc_send.c b95d79f5b3d1084934371b43fc06728f7a0917a9
+++ libpurple/protocols/irc/dcc_send.c 48994e5b9ee133934a869aab5a91eea53630e569
@@ -319,7 +319,7 @@ irc_dccsend_network_listen_cb(int sock,
/* 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));
More information about the Commits
mailing list