| 190 |
190 |
| 191 if (gaim_xfer_get_status(x) != GAIM_XFER_STATUS_ACCEPTED) |
191 if (gaim_xfer_get_status(x) != GAIM_XFER_STATUS_ACCEPTED) |
| 192 return; |
192 return; |
| 193 |
193 |
| 194 /* Start the file transfer */ |
194 /* Start the file transfer */ |
| 195 gaim_xfer_add(xfer->xfer); |
|
| 196 status = silc_client_file_receive(xfer->sg->client, xfer->sg->conn, |
195 status = silc_client_file_receive(xfer->sg->client, xfer->sg->conn, |
| 197 silcgaim_ftp_monitor, xfer, |
196 silcgaim_ftp_monitor, xfer, |
| 198 NULL, xfer->session_id, |
197 NULL, xfer->session_id, |
| 199 silcgaim_ftp_ask_name, xfer); |
198 silcgaim_ftp_ask_name, xfer); |
| 200 switch (status) { |
199 switch (status) { |
| 313 |
312 |
| 314 if (local && !local_ip) |
313 if (local && !local_ip) |
| 315 local_ip = silc_net_localip(); |
314 local_ip = silc_net_localip(); |
| 316 |
315 |
| 317 /* Send the file */ |
316 /* Send the file */ |
| 318 gaim_xfer_add(xfer->xfer); |
|
| 319 silc_client_file_send(xfer->sg->client, xfer->sg->conn, |
317 silc_client_file_send(xfer->sg->client, xfer->sg->conn, |
| 320 silcgaim_ftp_monitor, xfer, |
318 silcgaim_ftp_monitor, xfer, |
| 321 local_ip, 0, !local, xfer->client_entry, |
319 local_ip, 0, !local, xfer->client_entry, |
| 322 name, &xfer->session_id); |
320 name, &xfer->session_id); |
| 323 |
321 |