Mercurial > pidgin
changeset 6482:16fcc379e484
[gaim-migrate @ 6996]
Fixed a bug (and compiler error or warning on AIX) in FT. Maybe this'll
prevent some crashes? Who knows.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 17 Aug 2003 03:30:00 +0000 |
parents | 4dfae12a97bc |
children | 565339a6eb86 |
files | src/ft.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ft.c Sat Aug 16 15:13:44 2003 +0000 +++ b/src/ft.c Sun Aug 17 03:30:00 2003 +0000 @@ -419,7 +419,7 @@ *buffer = g_malloc0(s); r = read(xfer->fd, *buffer, s); - if ((gaim_xfer_get_size > 0) && + if ((gaim_xfer_get_size(xfer) > 0) && ((gaim_xfer_get_bytes_sent(xfer)+r) >= gaim_xfer_get_size(xfer))) gaim_xfer_set_completed(xfer, TRUE); }