src/protocols/irc/dcc_send.c

changeset 10555
2957b2c174da
parent 10388
70059f7d61a7
child 10654
b2dd3be1b087
equal deleted inserted replaced
10554:18efa4802ed5 10555:2957b2c174da
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

mercurial