Mercurial > pidgin.yaz
comparison src/protocols/irc/dcc_send.c @ 10112:1a91e814e9d8
[gaim-migrate @ 11145]
it looks like the rest of this was 64-bit stuff too
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Mon, 18 Oct 2004 05:40:02 +0000 |
parents | d27156c9c876 |
children | 088633feb846 |
comparison
equal
deleted
inserted
replaced
10111:8490f2e292a6 | 10112:1a91e814e9d8 |
---|---|
284 irc_dccsend_send_connected, xfer); | 284 irc_dccsend_send_connected, xfer); |
285 | 285 |
286 /* Send the intended recipient the DCC request */ | 286 /* Send the intended recipient the DCC request */ |
287 arg[0] = xfer->who; | 287 arg[0] = xfer->who; |
288 inet_aton(gaim_network_get_my_ip(irc->fd), &addr); | 288 inet_aton(gaim_network_get_my_ip(irc->fd), &addr); |
289 arg[1] = tmp = g_strdup_printf("\001DCC SEND \"%s\" %u %hu %u\001", | 289 arg[1] = tmp = g_strdup_printf("\001DCC SEND \"%s\" %u %hu %zu\001", |
290 xfer->filename, ntohl(addr.s_addr), | 290 xfer->filename, ntohl(addr.s_addr), |
291 port, xfer->size); | 291 port, xfer->size); |
292 | 292 |
293 irc_cmd_privmsg(xfer->account->gc->proto_data, "msg", NULL, arg); | 293 irc_cmd_privmsg(xfer->account->gc->proto_data, "msg", NULL, arg); |
294 g_free(tmp); | 294 g_free(tmp); |