Explorar el Código

Must call next_url if the current url cannot be requested.

master
Richard Nyberg hace 18 años
padre
commit
acc03a93e2
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      btpd/tracker_req.c

+ 1
- 0
btpd/tracker_req.c Ver fichero

@@ -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 {


Cargando…
Cancelar
Guardar