Sfoglia il codice sorgente

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

master
Richard Nyberg 18 anni fa
parent
commit
e117d81cf3
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      btpd/content.c

+ 2
- 1
btpd/content.c Vedi File

@@ -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…
Annulla
Salva