diff options
-rw-r--r-- | ratox.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1166,10 +1166,8 @@ loop(void) printout("Connected to DHT\n"); /* Cancel any pending transfers */ TAILQ_FOREACH(f, &friendhead, entry) { - if (tox_get_friend_connection_status(tox, f->fid) == 0) { - canceltxtransfer(f); - cancelrxtransfer(f); - } + canceltxtransfer(f); + cancelrxtransfer(f); } connected = 1; } |