comparison src/protocols/irc/dcc_send.c @ 10555:761822c6f7ca

[gaim-migrate @ 11932] you'll see where i'm going with this eventually committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 29 Jan 2005 18:36:43 +0000
parents 088633feb846
children f2e86683cafc
comparison
equal deleted inserted replaced
10554:0ad82505bde8 10555:761822c6f7ca
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 %zu\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(gc->proto_data, "msg", NULL, arg);
294 g_free(tmp); 294 g_free(tmp);
295 } 295 }
296 296
297 /** 297 /**
298 * Gaim calls this function when the user selects Send File from the 298 * Gaim calls this function when the user selects Send File from the