Selaa lähdekoodia

Only trigger error handling if an error actually occured. :P

master
Richard Nyberg 18 vuotta sitten
vanhempi
commit
e117d81cf3
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. +2
    -1
      btpd/content.c

+ 2
- 1
btpd/content.c Näytä tiedosto

@@ -144,7 +144,8 @@ cm_write_done(struct torrent *tp)
btpd_ev_del(&cm->save_timer);
if (!err)
cm_save(tp);
cm_on_error(tp);
else
cm_on_error(tp);
}

void


Loading…
Peruuta
Tallenna