diff options
author | tiptorrent development team <tiptorrent@soleta.eu> | 2021-09-18 23:12:02 +0200 |
---|---|---|
committer | tiptorrent development team <tiptorrent@soleta.eu> | 2021-09-18 23:26:01 +0200 |
commit | 6b47735b55df4c6ce34c534c2f0a26a01b5bb347 (patch) | |
tree | 72a885dbb72da9aa2f5961e9bd08d703ba4ade33 /src | |
parent | 388a3c1f45ad071380ec7c685dcc5a0d04c8c513 (diff) |
incorrect loop break logic on error
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -429,7 +429,7 @@ int main(int argc, char *argv[]) tip_client_connect(argv[1]); _cli.state = TIP_CLIENT_RECEIVING_HEADER; - while (_cli.state != TIP_CLIENT_DONE || _cli.error) + while (_cli.state != TIP_CLIENT_DONE && !_cli.error) ev_loop(tip_main_loop, 0); file_chunk[k] = true; |