Mercurial > pidgin.yaz
comparison src/protocols/silc/ft.c @ 9788:1e9ecca6c97e
[gaim-migrate @ 10656]
"ixes sending declines when we would decline a request
to an MSN file xfer.
Fixes accidentally having 2 xfers of the same file in
the transfer dialog when sending through MSN and SILC.
Fixes crash when cancelling MSN file transfers.
Should fix crash when removing old MSN transfers from
the xfer window in MSN.
Fixes MSN crash when the remote side sends a decline
after we've canceled locally." --Dave West
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 20 Aug 2004 03:44:46 +0000 |
parents | d27156c9c876 |
children | e62987ff5616 |
comparison
equal
deleted
inserted
replaced
9787:904b757835ca | 9788:1e9ecca6c97e |
---|---|
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 |