Mercurial > pidgin.yaz
diff src/ft.c @ 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 | 0a902bd3e170 |
children | feb3d21a7794 |
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); }