summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index c107fd8..e0b1d44 100644
--- a/src/core.c
+++ b/src/core.c
@@ -367,7 +367,9 @@ void tip_client_activate_pending(bool redirect_only)
ev_io_start(tip_main_loop, &cli->io);
ev_timer_again(tip_main_loop, &cli->timer);
cli->state = TIP_CLIENT_PROCESSING_REQUEST_2;
- break;
+ /* only activate one direct download from server. */
+ if (!redirected)
+ redirect_only = true;
}
}