Mercurial > pidgin.yaz
comparison libpurple/protocols/yahoo/yahoo_filexfer.c @ 29623:3c9534e77ea1
propagate from branch 'im.pidgin.pidgin' (head 53ad409302bf312b4f1e4153f893f1350638c8c9)
to branch 'im.pidgin.pidgin.next.minor' (head e36acc862ca620a7afc746236306cb0eba4ca37a)
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Mon, 02 Nov 2009 03:18:15 +0000 |
parents | 7b88cc6c3f7a 4558a09a08c7 |
children | f44718de8b06 d0b0f0d17046 |
comparison
equal
deleted
inserted
replaced
28858:532307346255 | 29623:3c9534e77ea1 |
---|---|
506 purple_xfer_set_completed(xfer, TRUE); | 506 purple_xfer_set_completed(xfer, TRUE); |
507 if ((errno != EAGAIN) && (errno != EINTR)) | 507 if ((errno != EAGAIN) && (errno != EINTR)) |
508 return -1; | 508 return -1; |
509 return 0; | 509 return 0; |
510 } | 510 } |
511 | |
512 if ((purple_xfer_get_bytes_sent(xfer) + len) >= purple_xfer_get_size(xfer)) | |
513 purple_xfer_set_completed(xfer, TRUE); | |
514 | 511 |
515 return len; | 512 return len; |
516 } | 513 } |
517 | 514 |
518 static void yahoo_xfer_cancel_send(PurpleXfer *xfer) | 515 static void yahoo_xfer_cancel_send(PurpleXfer *xfer) |