diff options
author | sin <sin@2f30.org> | 2014-09-25 11:15:25 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-09-25 11:15:25 +0100 |
commit | e1639077d5a4a1012479f94c2b6a25851138c91e (patch) | |
tree | 6859b9082cd9ba8c2e6ef034a95d098c4df6af6c | |
parent | 6c626f3590cad76c7c800d43ae0a981ebc529018 (diff) |
Flag transfer completion by changing state
-rw-r--r-- | ratox.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |