diff options
Diffstat (limited to 'src/main.c')
-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; |