ratox

FIFO based tox client
git clone git://git.2f30.org/ratox
Log | Files | Refs | README | LICENSE

commit e1639077d5a4a1012479f94c2b6a25851138c91e
parent 6c626f3590cad76c7c800d43ae0a981ebc529018
Author: sin <sin@2f30.org>
Date:   Thu, 25 Sep 2014 11:15:25 +0100

Flag transfer completion by changing state

Diffstat:
Mratox.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/ratox.c b/ratox.c @@ -615,6 +615,7 @@ sendfriendfile(struct friend *f) /* Signal transfer completion to other end */ tox_file_send_control(tox, f->fid, 0, f->t.fnum, TOX_FILECONTROL_FINISHED, NULL, 0); + f->t.state = TRANSFER_DONE; break; } if (n == -1)