about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--btpd/tracker_req.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/btpd/tracker_req.c b/btpd/tracker_req.c
index 57d4471..2d2dbb1 100644
--- a/btpd/tracker_req.c
+++ b/btpd/tracker_req.c
@@ -117,6 +117,7 @@ tr_send(struct torrent *tp, enum tr_event event)
 
     if ((op == NULL ||
             (tr->req = op->request(tp, event, get_url(tr))) == NULL)) {
+        next_url(tr);
         tr->ttype = TIMER_RETRY;
         btpd_ev_add(&tr->timer, (& (struct timeval) { 20, 0 }));
     } else {