comparison src/protocols/oscar/oscar.c @ 5163:354518ac4e11

[gaim-migrate @ 5527] Fixes some possible minor firewall "bugaboos." committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 18 Apr 2003 06:15:05 +0000
parents 387aafe957c4
children d9073c83a8a0
comparison
equal deleted inserted replaced
5162:b8eafeb874a1 5163:354518ac4e11
2233 } 2233 }
2234 } 2234 }
2235 2235
2236 /* Build the file transfer handle */ 2236 /* Build the file transfer handle */
2237 xfer = gaim_xfer_new(gc->account, GAIM_XFER_RECEIVE, userinfo->sn); 2237 xfer = gaim_xfer_new(gc->account, GAIM_XFER_RECEIVE, userinfo->sn);
2238 xfer->remote_ip = g_strdup(args->clientip); 2238 xfer->remote_ip = g_strdup(args->verifiedip);
2239 xfer->remote_port = args->port; 2239 xfer->remote_port = args->port;
2240 gaim_xfer_set_filename(xfer, args->info.sendfile.filename); 2240 gaim_xfer_set_filename(xfer, args->info.sendfile.filename);
2241 gaim_xfer_set_size(xfer, args->info.sendfile.totsize); 2241 gaim_xfer_set_size(xfer, args->info.sendfile.totsize);
2242 2242
2243 /* Create the oscar-specific data */ 2243 /* Create the oscar-specific data */
2244 oft_info = aim_oft_createinfo(od->sess, args->cookie, userinfo->sn, xfer->remote_ip, xfer->remote_port, 0, 0, NULL); 2244 oft_info = aim_oft_createinfo(od->sess, args->cookie, userinfo->sn, args->clientip, xfer->remote_port, 0, 0, NULL);
2245 if (args->proxyip) 2245 if (args->proxyip)
2246 oft_info->proxyip = g_strdup(args->proxyip); 2246 oft_info->proxyip = g_strdup(args->proxyip);
2247 if (args->verifiedip) 2247 if (args->verifiedip)
2248 oft_info->verifiedip = g_strdup(args->verifiedip); 2248 oft_info->verifiedip = g_strdup(args->verifiedip);
2249 xfer->data = oft_info; 2249 xfer->data = oft_info;