Mercurial > pidgin
comparison src/ft.c @ 5146:ac9ca88d4b25
[gaim-migrate @ 5510]
I guess I'm gonna go ahead and commit this... I don't think there's any
real functionality change. AIM file transfer might work a little better,
I guess. I probably fixed a bug or two. Like, filenames>64 characters
won't cause infinite loopage.
Changed AIM file transfer a bit with the following two goals:
-Move some code from oscar.c to libfaim. Should make it easier for 3rd
parties to use libfaim for file transfer.
-Allow for easier code reuse with "get file" (in the works)
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 17 Apr 2003 03:28:21 +0000 |
parents | 3145c5c45877 |
children | 98d16e2d1bf9 |
comparison
equal
deleted
inserted
replaced
5145:fc09679bffbe | 5146:ac9ca88d4b25 |
---|---|
61 struct gaim_xfer_ui_ops *ui_ops; | 61 struct gaim_xfer_ui_ops *ui_ops; |
62 | 62 |
63 if (xfer == NULL) | 63 if (xfer == NULL) |
64 return; | 64 return; |
65 | 65 |
66 if (!xfer->completed) { | 66 if (!xfer->completed) |
67 gaim_xfer_cancel_local(xfer); | 67 gaim_xfer_cancel_local(xfer); |
68 return; | |
69 } | |
70 | 68 |
71 ui_ops = gaim_xfer_get_ui_ops(xfer); | 69 ui_ops = gaim_xfer_get_ui_ops(xfer); |
72 | 70 |
73 if (ui_ops != NULL && ui_ops->destroy != NULL) | 71 if (ui_ops != NULL && ui_ops->destroy != NULL) |
74 ui_ops->destroy(xfer); | 72 ui_ops->destroy(xfer); |