| 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 |